diff options
author | David Robillard <d@drobilla.net> | 2020-12-01 19:18:24 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-01 19:18:24 +0100 |
commit | e0b780363056f9b8c767e70ddde11385b14cdbe9 (patch) | |
tree | 3536a26a57a375aa00df9a9fd8600fc657a4025c /wscript | |
parent | 9cb91cde90fc7e54e611805170058efebe32b5a7 (diff) | |
download | pugl-e0b780363056f9b8c767e70ddde11385b14cdbe9.tar.gz pugl-e0b780363056f9b8c767e70ddde11385b14cdbe9.tar.bz2 pugl-e0b780363056f9b8c767e70ddde11385b14cdbe9.zip |
Enable test coverage in debug builds
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -159,6 +159,11 @@ def configure(conf): '-Wno-direct-ivar-access'], }) + if Options.options.debug and not Options.options.no_coverage: + conf.env.append_unique('CFLAGS', ['--coverage']) + conf.env.append_unique('CXXFLAGS', ['--coverage']) + conf.env.append_unique('LINKFLAGS', ['--coverage']) + if conf.env.DOCS: conf.load('python') conf.load('sphinx') |