Add swaroop variant and use it to remove the screen options from the View menu.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index c13061be1218bef6765cbb167b2966ce617d3216..a42c950334374dc89355e74addaa73dd17aa7d1c 100644 (file)
--- a/cscript
+++ b/cscript
@@ -338,7 +338,7 @@ def dependencies(target):
     return deps
 
 def option_defaults():
-    return { "player-only": "False", "gui": True }
+    return { "player-only": "False", "gui": True, "variant": None }
 
 def configure_options(target, options):
     opt = ''
@@ -366,6 +366,9 @@ def configure_options(target, options):
     if options['player-only']:
         opt += ' --player-only'
 
+    if options['variant'] is not None:
+        opt += ' --variant=%s' % options['variant']
+
     # Build Windows debug versions with static linking as I think gdb works better then
     if target.debug and target.platform == 'windows':
         opt += ' --static-dcpomatic'