diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-27 12:40:58 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-27 12:41:01 +0100 |
| commit | 8997b2e7d90f6fba12a57933c388918f5fd3a599 (patch) | |
| tree | bdd91c7144b0bf929ecfb97bbd9607f0f3d535af | |
| parent | c552ece80353594e8d9860bcbcbf09a8e9fb020f (diff) | |
allow building via cdist with cucumber support.
| -rw-r--r-- | cscript | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -31,6 +31,7 @@ import json # variant: passed to wscript --variant (dcpomatic or post) # gui: True to build with GUI, False without # part: part to build for macOS, passed to make_dmg.sh (e.g. dcpomatic2_player) +# cucumber: build with cucumber support def dmg_prefix(variant): @@ -448,7 +449,7 @@ def dependencies(target, options): return deps -option_defaults = { "gui": True, "variant": None } +option_defaults = { "gui": True, "variant": None, "cucumber": False } def build_tests(target): @@ -488,6 +489,9 @@ def configure_options(target, options, for_package=False): if options['variant']: opt += ' --variant=%s' % options['variant'] + if options['cucumber']: + opt += ' --cucumber' + # Build Windows debug versions with static linking as I think gdb works better then if target.debug and target.platform == 'windows': opt += ' --static-dcpomatic' |
