2022-10-17 22:26:36 -03:00
|
|
|
project('obelisk',
|
|
|
|
'cpp',
|
|
|
|
version : '1.0.0',
|
|
|
|
default_options : [
|
|
|
|
'warning_level=3',
|
|
|
|
'c_std=c17',
|
|
|
|
'cpp_std=c++17'
|
|
|
|
]
|
|
|
|
)
|
|
|
|
|
2022-12-09 23:25:36 -03:00
|
|
|
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
|
|
|
|
|
2022-12-09 23:40:51 -03:00
|
|
|
if doxygen.found()
|
|
|
|
subdir('doc')
|
|
|
|
endif
|
2022-12-09 23:25:36 -03:00
|
|
|
|
2022-10-17 22:26:36 -03:00
|
|
|
subdir('src')
|