X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=wscript;h=c4102733687ef0dd3250d970b63b2489fc8cc97f;hb=287b8f505251d09c37d3089220fbdf2f9586d9c8;hp=d6637f3f8cbe3b32e13b4361c3dcdec5926c7bab;hpb=94d13e93d7187c873e3a37e4c9b71ab9f62ae43a;p=dcpomatic.git diff --git a/wscript b/wscript index d6637f3f8..c41027336 100644 --- a/wscript +++ b/wscript @@ -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'