diff options
author | David Robillard <d@drobilla.net> | 2018-01-21 00:41:34 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-01-21 00:41:34 +0100 |
commit | e84092a7acee6c4d1493cbdd23ec5676b923f44d (patch) | |
tree | 07219309ce96ee6a4a1deba279ca48f82b685d74 /wscript | |
parent | f77283d735d202e5c15d072e195325b1f876e461 (diff) | |
download | ingen-e84092a7acee6c4d1493cbdd23ec5676b923f44d.tar.gz ingen-e84092a7acee6c4d1493cbdd23ec5676b923f44d.tar.bz2 ingen-e84092a7acee6c4d1493cbdd23ec5676b923f44d.zip |
Don't build libraries twice when testing is enabled
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -149,9 +149,9 @@ def configure(conf): if Options.options.debug_urids: autowaf.define(conf, 'INGEN_DEBUG_URIDS', 1) + conf.env.INGEN_TEST_LINKFLAGS = [] + conf.env.INGEN_TEST_CXXFLAGS = [] if conf.env.BUILD_TESTS: - conf.env.INGEN_TEST_LINKFLAGS = [] - conf.env.INGEN_TEST_CXXFLAGS = [] if not conf.env.NO_COVERAGE: conf.env.INGEN_TEST_CXXFLAGS += ['--coverage'] conf.env.INGEN_TEST_LINKFLAGS += ['--coverage'] @@ -245,7 +245,7 @@ def build(bld): source = 'tests/%s.cpp' % i, target = 'tests/%s' % i, includes = ['.'], - use = 'libingen_profiled', + use = 'libingen', install_path = '', cxxflags = bld.env.INGEN_TEST_CXXFLAGS, linkflags = bld.env.INGEN_TEST_LINKFLAGS) |