summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-09-21 01:18:11 +0100
committerCarl Hetherington <cth@carlh.net>2018-09-21 01:18:11 +0100
commit48ac836c1adf20629d75592bc87bf64d18c54139 (patch)
tree79c2cd46bf2fd9481a07dc460988b900dc64915c /cscript
parent65e3ca1c4a31fdb73df295ef636301cd7435b755 (diff)
Add swaroop variant and use it to remove the screen options from the View menu.
Diffstat (limited to 'cscript')
-rw-r--r--cscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/cscript b/cscript
index c13061be1..a42c95033 100644
--- 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'