obelisk/meson.build

35 lines
809 B
Meson
Raw Normal View History

2022-10-17 22:26:36 -03:00
project('obelisk',
2023-02-21 09:09:48 -03:00
'c',
2022-10-17 22:26:36 -03:00
'cpp',
2023-05-02 23:26:01 -04:00
version : '1.0.4',
2022-12-10 00:36:44 -03:00
license : 'BSD-3-Clause',
2022-10-17 22:26:36 -03:00
default_options : [
'warning_level=3',
'c_std=c17',
'cpp_std=c++17'
]
)
2023-02-16 01:16:57 -03:00
project_version_lib = '0'
2022-12-10 00:57:58 -03:00
llvm = dependency('llvm', version: '>= 14.0.0', modules : ['core', 'target', 'mcjit', 'nativecodegen'], required : true, method: 'config-tool')
2022-12-10 00:54:29 -03:00
2022-12-09 23:25:36 -03:00
cdata = configuration_data()
cdata.set('VERSION', meson.project_version())
2023-02-08 09:38:24 -03:00
docs_enabled = get_option('docs')
if docs_enabled
doxygen = find_program('doxygen', required : false)
if doxygen.found()
if find_program('dot', required : false).found()
cdata.set('HAVE_DOT', 'YES')
else
cdata.set('HAVE_DOT', 'NO')
endif
subdir('doc')
endif
2022-12-09 23:40:51 -03:00
endif
2022-12-09 23:25:36 -03:00
subdir('sqlite')
2023-02-16 02:26:14 -03:00
subdir('src')