mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-11 07:37:52 +00:00
wscript: fix stdin input wasn't enabled for dedicated. Fix single-binary help string
This commit is contained in:
parent
bf8b87c29d
commit
8905e7cbb7
@ -39,7 +39,8 @@ def configure(conf):
|
|||||||
conf.options.USE_SELECT = conf.options.DEDICATED
|
conf.options.USE_SELECT = conf.options.DEDICATED
|
||||||
|
|
||||||
conf.define_cond('SINGLE_BINARY', conf.env.SINGLE_BINARY)
|
conf.define_cond('SINGLE_BINARY', conf.env.SINGLE_BINARY)
|
||||||
conf.define_cond('XASH_USE_SELECT', conf.options.USE_SELECT)
|
|
||||||
|
conf.define_cond('XASH_USE_SELECT', conf.options.USE_SELECT or conf.options.DEDICATED)
|
||||||
conf.define_cond('SUPPORT_BSP2_FORMAT', conf.options.SUPPORT_BSP2_FORMAT)
|
conf.define_cond('SUPPORT_BSP2_FORMAT', conf.options.SUPPORT_BSP2_FORMAT)
|
||||||
conf.define_cond('XASH_64BIT', conf.env.DEST_SIZEOF_VOID_P != 4)
|
conf.define_cond('XASH_64BIT', conf.env.DEST_SIZEOF_VOID_P != 4)
|
||||||
conf.define_cond('DBGHELP', conf.env.DEST_OS == 'win32')
|
conf.define_cond('DBGHELP', conf.env.DEST_OS == 'win32')
|
||||||
|
2
wscript
2
wscript
@ -47,7 +47,7 @@ def options(opt):
|
|||||||
help = 'build Xash Dedicated Server [default: %default]')
|
help = 'build Xash Dedicated Server [default: %default]')
|
||||||
|
|
||||||
grp.add_option('--single-binary', action = 'store_true', dest = 'SINGLE_BINARY', default = False,
|
grp.add_option('--single-binary', action = 'store_true', dest = 'SINGLE_BINARY', default = False,
|
||||||
help = 'build single "xash" binary [default: %default]')
|
help = 'build single "xash" binary (always enabled for dedicated) [default: %default]')
|
||||||
|
|
||||||
grp.add_option('-8', '--64bits', action = 'store_true', dest = 'ALLOW64', default = False,
|
grp.add_option('-8', '--64bits', action = 'store_true', dest = 'ALLOW64', default = False,
|
||||||
help = 'allow targetting 64-bit engine(Linux/Windows/OSX x86 only) [default: %default]')
|
help = 'allow targetting 64-bit engine(Linux/Windows/OSX x86 only) [default: %default]')
|
||||||
|
Loading…
Reference in New Issue
Block a user