diff options
author | David Robillard <d@drobilla.net> | 2012-05-17 18:03:53 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-17 18:03:53 +0000 |
commit | 3e4272d71264ef1a251d154c0b1f4dce8a725554 (patch) | |
tree | 6bbbfd7b541fdae47d9651ebeecd917a9a605271 /src/serialisation/wscript | |
parent | dc1680b0b1338b7edbcbff89fe77b0e1c14017a3 (diff) | |
download | ingen-3e4272d71264ef1a251d154c0b1f4dce8a725554.tar.gz ingen-3e4272d71264ef1a251d154c0b1f4dce8a725554.tar.bz2 ingen-3e4272d71264ef1a251d154c0b1f4dce8a725554.zip |
Eliminate static variable.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4424 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/serialisation/wscript')
-rw-r--r-- | src/serialisation/wscript | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/serialisation/wscript b/src/serialisation/wscript index 49698b6c..23924970 100644 --- a/src/serialisation/wscript +++ b/src/serialisation/wscript @@ -13,3 +13,18 @@ def build(bld): install_path = '${LIBDIR}', use = 'libingen_shared') autowaf.use_lib(bld, obj, 'GLIBMM LV2 LILV RAUL SORD SRATOM') + + if bld.env['BUILD_TESTS']: + obj = bld(features = 'c cshlib cxx cxxshlib', + source = ['Parser.cpp', + 'Serialiser.cpp', + 'serialisation.cpp'], + export_includes = ['../..'], + includes = ['.', '../..'], + name = 'libingen_serialisation_profiled', + target = 'ingen_serialisation_profiled', + install_path = '', + use = 'libingen_shared_profiled', + lib = bld.env['INGEN_TEST_LIBS'], + cxxflags = bld.env['INGEN_TEST_CXXFLAGS']) + autowaf.use_lib(bld, obj, 'GLIBMM LV2 LILV RAUL SORD SRATOM') |