28 lines
501 B
Meson
28 lines
501 B
Meson
project('obelisk',
|
|
'cpp',
|
|
version : '1.0.0',
|
|
license : 'BSD-3-Clause',
|
|
default_options : [
|
|
'warning_level=3',
|
|
'c_std=c17',
|
|
'cpp_std=c++17'
|
|
]
|
|
)
|
|
|
|
doxygen = find_program('doxygen', required : false)
|
|
|
|
cdata = configuration_data()
|
|
cdata.set('VERSION', meson.project_version())
|
|
|
|
if find_program('dot', required : false).found()
|
|
cdata.set('HAVE_DOT', 'YES')
|
|
else
|
|
cdata.set('HAVE_DOT', 'NO')
|
|
endif
|
|
|
|
if doxygen.found()
|
|
subdir('doc')
|
|
endif
|
|
|
|
subdir('src')
|