diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-11-23 16:41:21 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-11-23 16:41:21 +0000 |
| commit | bc2b4bb709683de594f08c4db0228c11f14bbf66 (patch) | |
| tree | 140baa3254579b3960b54a77dc03dc7876ca1b67 /wscript | |
| parent | a869c520e4c75ee16cc9c07b96bd4886aae39f8a (diff) | |
| parent | 960fa45a5852452418188d55adfd6172a8a77a4a (diff) | |
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -14,6 +14,7 @@ def options(opt): opt.add_option('--enable-debug', action='store_true', default=False, help='build with debugging information and without optimisation') opt.add_option('--static', action='store_true', default=False, help='build libdcp and in-tree dependencies statically, and link statically to openjpeg and cxml') opt.add_option('--disable-tests', action='store_true', default=False, help='disable building of tests') + opt.add_option('--disable-gcov', action='store_true', default=False, help='don''t use gcov in tests') opt.add_option('--disable-examples', action='store_true', default=False, help='disable building of examples') def configure(conf): @@ -122,7 +123,8 @@ def configure(conf): if not conf.env.DISABLE_TESTS: conf.recurse('test') - conf.check(lib='gcov', define_name='HAVE_GCOV', mandatory=False) + if not conf.options.disable_gcov: + conf.check(lib='gcov', define_name='HAVE_GCOV', mandatory=False) conf.recurse('asdcplib') def build(bld): |
