[gxml] meson: Renaming options



commit 4deafd6f440d7bca430f1264e76edb364fb15dc6
Author: Daniel Espinosa <esodan gmail com>
Date:   Sun Jul 7 20:59:56 2019 -0500

    meson: Renaming options
    
    Removing disable and enable prefix in options.

 gxml/meson.build  | 4 ++--
 meson.build       | 2 +-
 meson_options.txt | 5 +++--
 3 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/gxml/meson.build b/gxml/meson.build
index 053961d..19f1223 100644
--- a/gxml/meson.build
+++ b/gxml/meson.build
@@ -129,10 +129,10 @@ libgxml = library(VERSIONED_PROJECT_NAME,
                true,
                join_paths (get_option('includedir'), 'gxml-@0@'.format (API_VERSION), 'gxml'),
                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)
 if g_ir_compiler.found()
 custom_target('typelib',
diff --git a/meson.build b/meson.build
index 544781e..f8c901e 100644
--- a/meson.build
+++ b/meson.build
@@ -22,7 +22,7 @@ inc_rooth_dep = declare_dependency (include_directories : inc_rooth)
 subdir('po')
 subdir('vapi')
 subdir('gxml')
-if not get_option('disable-docs')
+if get_option('docs')
 subdir('docs')
 endif
 subdir('test')
diff --git a/meson_options.txt b/meson_options.txt
index 7399ed8..7e9f059 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,2 +1,3 @@
-option('disable-introspection', type : 'boolean', value : true, description : 'Disable GObject 
Introspection')
-option('disable-docs', type : 'boolean', value : true, description : 'Disable Vala Documentation')
+option('tnode-tests', type : 'boolean', value : false, description : 'Add TNode classes unit tests')
+option('introspection', type : 'boolean', value : false, description : 'Create GObject Introspection file 
definitions')
+option('docs', type : 'boolean', value : false, description : 'Generate Vala Documentation')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]