feature/read_file #13

Merged
cromer merged 6 commits from feature/read_file into develop 2023-02-13 23:04:38 -03:00
2 changed files with 15 additions and 10 deletions
Showing only changes of commit b9a82a8e3c - Show all commits

View File

@ -11,19 +11,20 @@ project('obelisk',
llvm = dependency('llvm', version: '>= 14.0.0', modules : ['core', 'target', 'mcjit', 'nativecodegen'], required : true, method: 'config-tool') llvm = dependency('llvm', version: '>= 14.0.0', modules : ['core', 'target', 'mcjit', 'nativecodegen'], required : true, method: 'config-tool')
doxygen = find_program('doxygen', required : false)
cdata = configuration_data() cdata = configuration_data()
cdata.set('VERSION', meson.project_version()) cdata.set('VERSION', meson.project_version())
if find_program('dot', required : false).found() docs_enabled = get_option('docs')
cdata.set('HAVE_DOT', 'YES') if docs_enabled
else doxygen = find_program('doxygen', required : false)
cdata.set('HAVE_DOT', 'NO') if doxygen.found()
endif if find_program('dot', required : false).found()
cdata.set('HAVE_DOT', 'YES')
if doxygen.found() else
subdir('doc') cdata.set('HAVE_DOT', 'NO')
endif
subdir('doc')
endif
endif endif
subdir('src') subdir('src')

4
meson_options.txt Normal file
View File

@ -0,0 +1,4 @@
option('docs',
type: 'boolean',
value: true,
description: 'Build documentation for obelisk')