diff options
author | David Robillard <d@drobilla.net> | 2012-05-18 18:03:24 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-18 18:03:24 +0000 |
commit | ec4fd6dd3809a055b66c28f841df277e4cd9f62e (patch) | |
tree | 229dbb5f8046753c433853c890c32b1fdac97a48 /src/server/wscript | |
parent | da03dbe262f38fa0cc5eaacd176a4d8efe5029db (diff) | |
download | ingen-ec4fd6dd3809a055b66c28f841df277e4cd9f62e.tar.gz ingen-ec4fd6dd3809a055b66c28f841df277e4cd9f62e.tar.bz2 ingen-ec4fd6dd3809a055b66c28f841df277e4cd9f62e.zip |
Beginnings of a test framework.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4427 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/wscript')
-rw-r--r-- | src/server/wscript | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/server/wscript b/src/server/wscript index 4cb61be5..8f505983 100644 --- a/src/server/wscript +++ b/src/server/wscript @@ -60,6 +60,19 @@ def build(bld): core_libs = 'GLIBMM GTHREAD LV2 LILV RAUL SORD' autowaf.use_lib(bld, obj, core_libs) + if bld.env['BUILD_TESTS']: + obj = bld(features = 'cxx cxxshlib', + source = core_source, + export_includes = ['../..'], + includes = ['.', '../..'], + name = 'libingen_server_profiled', + target = 'ingen_server_profiled', + install_path = '${LIBDIR}', + use = 'libingen_shared_profiled', + lib = bld.env['INGEN_TEST_LIBS'], + cxxflags = bld.env['INGEN_TEST_CXXFLAGS']) + autowaf.use_lib(bld, obj, core_libs) + if bld.is_defined('HAVE_JACK'): obj = bld(features = 'cxx cxxshlib', source = 'JackDriver.cpp ingen_jack.cpp', |