From 3e4272d71264ef1a251d154c0b1f4dce8a725554 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 17 May 2012 18:03:53 +0000 Subject: Eliminate static variable. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4424 a436a847-0d15-0410-975c-d299462d15a1 --- src/serialisation/wscript | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/serialisation/wscript') 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') -- cgit v1.2.1