diff options
author | David Robillard <d@drobilla.net> | 2012-02-11 02:08:09 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-02-11 02:08:09 +0000 |
commit | f78c89077b50934001b63efc4b3a9742dcd0b738 (patch) | |
tree | 1f4815fb2f66fc4603c71933135ac412283092a6 /wscript | |
parent | fc2d0951e1537f8ee589e94edc9a94a07df9564a (diff) | |
download | jalv-f78c89077b50934001b63efc4b3a9742dcd0b738.tar.gz jalv-f78c89077b50934001b63efc4b3a9742dcd0b738.tar.bz2 jalv-f78c89077b50934001b63efc4b3a9742dcd0b738.zip |
Add gtkmm version for testing.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@3981 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -45,6 +45,8 @@ def configure(conf): atleast_version='0.120.0', mandatory=True) autowaf.check_pkg(conf, 'gtk+-2.0', uselib_store='GTK2', atleast_version='2.18.0', mandatory=False) + autowaf.check_pkg(conf, 'gtkmm-2.4', uselib_store='GTKMM2', + atleast_version='2.20.0', mandatory=False) autowaf.check_pkg(conf, 'QtGui', uselib_store='QT4', atleast_version='4.0.0', mandatory=False) @@ -72,6 +74,8 @@ def configure(conf): conf.is_defined('HAVE_LV2_STATE')) autowaf.display_msg(conf, "Gtk 2.0 support", conf.is_defined('HAVE_GTK2')) + autowaf.display_msg(conf, "Gtkmm 2.0 support", + conf.is_defined('HAVE_GTKMM2')) autowaf.display_msg(conf, "Qt 4.0 support", conf.is_defined('HAVE_QT4')) print('') @@ -100,6 +104,16 @@ def build(bld): install_path = '${BINDIR}') autowaf.use_lib(bld, obj, libs + ' GTK2') + # Gtkmm version + if bld.is_defined('HAVE_GTKMM2'): + obj = bld(features = 'c cxx cxxprogram', + source = source + ' src/jalv_gtkmm2.cpp', + target = 'jalv.gtkmm', + includes = ['.', 'src'], + lib = ['pthread'], + install_path = '${BINDIR}') + autowaf.use_lib(bld, obj, libs + ' GTKMM2') + # Qt version if bld.is_defined('HAVE_QT4'): obj = bld(features = 'c cxx cxxprogram', |