diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-09-19 23:37:55 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-09-19 23:37:55 +0100 |
| commit | 287b8f505251d09c37d3089220fbdf2f9586d9c8 (patch) | |
| tree | 29b812980f8b627ab33a1370be390bf4b381de5e /wscript | |
| parent | 94d13e93d7187c873e3a37e4c9b71ab9f62ae43a (diff) | |
Allow player-only builds.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -48,6 +48,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('--disable-gui', action='store_true', default=False, help='disable building of GUI tools') + opt.add_option('--player-only', action='store_true', default=False, help='just build the player; no other tools') opt.add_option('--disable-tests', action='store_true', default=False, help='disable building of tests') opt.add_option('--install-prefix', default=None, help='prefix of where DCP-o-matic will be installed') opt.add_option('--target-windows', action='store_true', default=False, help='set up to do a cross-compile to make a Windows package') @@ -73,6 +74,7 @@ def configure(conf): # Save conf.options that we need elsewhere in conf.env conf.env.DISABLE_GUI = conf.options.disable_gui + conf.env.PLAYER_ONLY = conf.options.player_only conf.env.DISABLE_TESTS = conf.options.disable_tests conf.env.TARGET_WINDOWS = conf.options.target_windows conf.env.TARGET_OSX = sys.platform == 'darwin' |
