summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-27 04:28:01 +0000
committerDavid Robillard <d@drobilla.net>2013-12-27 04:28:01 +0000
commitfb7d28e4f431a03c1c6aea9c1e9b343bff46a71b (patch)
treef483e26ecca238d0572fd8ea7ab1bd2770010d8a /wscript
parentd7311c274e6d82354ca76f5df7940d12da4fbec3 (diff)
downloadganv-fb7d28e4f431a03c1c6aea9c1e9b343bff46a71b.tar.gz
ganv-fb7d28e4f431a03c1c6aea9c1e9b343bff46a71b.tar.bz2
ganv-fb7d28e4f431a03c1c6aea9c1e9b343bff46a71b.zip
Enable FDGL by default.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5218 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/wscript b/wscript
index 44e3d8d..a6d5153 100644
--- a/wscript
+++ b/wscript
@@ -23,9 +23,9 @@ def options(opt):
autowaf.set_options(opt)
opt.add_option('--test', action='store_true', dest='build_tests',
help='Build unit tests')
- opt.add_option('--no-graphviz', action='store_true', dest='no_graphviz',
+ opt.add_option('--graphviz', action='store_true', dest='graphviz',
help='Do not compile with graphviz support')
- opt.add_option('--fdgl', action='store_true', dest='fdgl',
+ opt.add_option('--no-fdgl', action='store_true', dest='no_fdgl',
help='Use experimental force-directed graph layout')
opt.add_option('--no-nls', action='store_true', dest='no_nls',
help='Disable i18n (native language support)')
@@ -52,11 +52,11 @@ def configure(conf):
conf.find_program('g-ir-doc-tool', var='G_IR_DOC_TOOL', mandatory=False)
conf.find_program('yelp-build', var='YELP_BUILD', mandatory=False)
- if not Options.options.no_graphviz:
+ if Options.options.graphviz:
autowaf.check_pkg(conf, 'libgvc', uselib_store='AGRAPH',
atleast_version='2.8', mandatory=False)
- if Options.options.fdgl:
+ if not Options.options.no_fdgl:
autowaf.define(conf, 'GANV_FDGL', 1)
if not Options.options.no_nls: