diff options
author | David Robillard <d@drobilla.net> | 2015-02-07 01:35:12 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-02-07 01:35:12 +0000 |
commit | dc0edb0389ff6fd0546bba352d7dab2146ffbf74 (patch) | |
tree | f02997a9cb2a00d344e50307fd8aeea555063b05 /src/gui/wscript | |
parent | 82ab6f73fab060860addb30691d0e926b4723ee2 (diff) | |
download | ingen-dc0edb0389ff6fd0546bba352d7dab2146ffbf74.tar.gz ingen-dc0edb0389ff6fd0546bba352d7dab2146ffbf74.tar.bz2 ingen-dc0edb0389ff6fd0546bba352d7dab2146ffbf74.zip |
Add configure options for stripped down builds.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5536 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/wscript')
-rw-r--r-- | src/gui/wscript | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/gui/wscript b/src/gui/wscript index c62f98a3..21731c88 100644 --- a/src/gui/wscript +++ b/src/gui/wscript @@ -1,6 +1,21 @@ #!/usr/bin/env python -from waflib.extras import autowaf as autowaf +import waflib.extras.autowaf as autowaf import waflib.Utils as Utils +import waflib.Options as Options + +def configure(conf): + autowaf.check_pkg(conf, 'gtkmm-2.4', uselib_store='GTKMM', + atleast_version='2.12.0', mandatory=False) + autowaf.check_pkg(conf, 'gtkmm-2.4', uselib_store='NEW_GTKMM', + atleast_version='2.14.0', mandatory=False) + autowaf.check_pkg(conf, 'ganv-1', uselib_store='GANV', + atleast_version='1.2.3', mandatory=False) + if not Options.options.no_webkit: + autowaf.check_pkg(conf, 'webkit-1.0', uselib_store='WEBKIT', + atleast_version='1.4.0', mandatory=False) + + if conf.env.HAVE_GANV and conf.env.HAVE_GTKMM: + autowaf.define(conf, 'INGEN_BUILD_GUI', 1) def build(bld): obj = bld(features = 'cxx cxxshlib', |