summaryrefslogtreecommitdiffstats
path: root/src/serialisation/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialisation/wscript')
-rw-r--r--src/serialisation/wscript15
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')