Skip to content
Snippets Groups Projects
Commit c6d7f6ef authored by Daniel Espinosa's avatar Daniel Espinosa
Browse files

meson: Rename options

parent 1bbc2ffd
Branches
Tags
No related merge requests found
...@@ -170,10 +170,10 @@ libgxml = library(VERSIONED_PROJECT_NAME, ...@@ -170,10 +170,10 @@ libgxml = library(VERSIONED_PROJECT_NAME,
true, true,
join_paths (get_option('includedir'), 'gxml-@0@'.format (API_VERSION), 'gxml'), join_paths (get_option('includedir'), 'gxml-@0@'.format (API_VERSION), 'gxml'),
vapidir, vapidir,
not get_option('disable-introspection') get_option('introspection')
]) ])
if not get_option('disable-introspection') if get_option('introspection')
g_ir_compiler = find_program('g-ir-compiler', required: false) g_ir_compiler = find_program('g-ir-compiler', required: false)
if g_ir_compiler.found() if g_ir_compiler.found()
custom_target('typelib', custom_target('typelib',
......
...@@ -22,7 +22,7 @@ inc_rooth_dep = declare_dependency (include_directories : inc_rooth) ...@@ -22,7 +22,7 @@ inc_rooth_dep = declare_dependency (include_directories : inc_rooth)
subdir('po') subdir('po')
subdir('vapi') subdir('vapi')
subdir('gxml') subdir('gxml')
if not get_option('disable-valadocs') if get_option('docs')
subdir('docs') subdir('docs')
endif endif
subdir('test') subdir('test')
......
option('enable-tnode-tests', type : 'boolean', value : false, description : 'Enable TNode classes unit tests') option('tnode-tests', type : 'boolean', value : false, description : 'Add TNode classes unit tests')
option('disable-introspection', type : 'boolean', value : true, description : 'Disable GObject Introspection') option('introspection', type : 'boolean', value : false, description : 'Create GObject Introspection file definitions')
option('disable-valadocs', type : 'boolean', value : true, description : 'Disable Vala Documentation') option('docs', type : 'boolean', value : false, description : 'Generate Vala Documentation')
...@@ -21,7 +21,7 @@ files_tests = files ([ ...@@ -21,7 +21,7 @@ files_tests = files ([
]) ])
tests_cargs = [] tests_cargs = []
if get_option('enable-tnode-tests') if get_option('tnode-tests')
files_tests += files ([ files_tests += files ([
'EnumerationTest.vala', 'EnumerationTest.vala',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment