diff options
author | David Robillard <d@drobilla.net> | 2009-12-09 01:37:38 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-12-09 01:37:38 +0000 |
commit | 4db8e50ad74080e731dce510ea15bf7fe3994f22 (patch) | |
tree | 34695de9875eb2a6a2faef0fbcfd184282d6d8ec /wscript | |
parent | 3164c2f2a3e5d8fde82427dc5a7e0857e1c8c013 (diff) | |
download | raul-4db8e50ad74080e731dce510ea15bf7fe3994f22.tar.gz raul-4db8e50ad74080e731dce510ea15bf7fe3994f22.tar.bz2 raul-4db8e50ad74080e731dce510ea15bf7fe3994f22.zip |
Raul 0.6.0.
Drop glibmm dependency to glib dependency.
Add --test configure option.
Add RDF description.
Bump library version number.
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@2297 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -1,8 +1,9 @@ #!/usr/bin/env python import autowaf +import Options # Version of this package (even if built as a child) -RAUL_VERSION = '0.5.1' +RAUL_VERSION = '0.6.0' # Library version (UNIX style major, minor, micro) # major increment <=> incompatible changes @@ -12,7 +13,8 @@ RAUL_VERSION = '0.5.1' # 0.4.0 = 0,0,0 # 0.5.0 = 1,0,0 (SVN r1283) # 0.5.1 = 2,0,0 -RAUL_LIB_VERSION = '2.0.0' +# 0.6.0 = 3,0,0 +RAUL_LIB_VERSION = '3.0.0' # Variables for 'waf dist' APPNAME = 'raul' @@ -24,21 +26,27 @@ blddir = 'build' def set_options(opt): autowaf.set_options(opt) + opt.add_option('--test', action='store_true', default=False, dest='build_tests', + help="Build unit tests") def configure(conf): autowaf.configure(conf) conf.check_tool('compiler_cxx') - autowaf.check_pkg(conf, 'glibmm-2.4', atleast_version='2.14.0', - uselib_store='GLIBMM', mandatory=True) + autowaf.check_pkg(conf, 'glib-2.0', atleast_version='2.2', + uselib_store='GLIB', mandatory=True) autowaf.check_pkg(conf, 'gthread-2.0', atleast_version='2.14.0', uselib_store='GTHREAD', mandatory=True) + conf.env['BUILD_TESTS'] = Options.options.build_tests + # Boost headers autowaf.check_header(conf, 'boost/shared_ptr.hpp', mandatory=True) autowaf.check_header(conf, 'boost/weak_ptr.hpp', mandatory=True) autowaf.check_header(conf, 'boost/utility.hpp', mandatory=True) autowaf.print_summary(conf) + autowaf.display_msg(conf, "Unit tests", str(conf.env['BUILD_TESTS'])) + print def build(bld): # Headers |