Browse Source

wscript: remove option --enable-stdin-input, it's enabled by default in dedicated mode sys_con now

pull/2/head
Alibek Omarov 1 year ago
parent
commit
5f625bb6e1
  1. 7
      engine/wscript
  2. 1
      wscript

7
engine/wscript

@ -11,9 +11,6 @@ top = '.' @@ -11,9 +11,6 @@ top = '.'
def options(opt):
grp = opt.add_option_group('Engine options')
grp.add_option('--enable-stdin-input', action = 'store_true', dest = 'USE_SELECT', default = False,
help = 'enable console input from stdin (always enabled for dedicated) [default: %default]')
grp.add_option('--enable-fbdev', action = 'store_true', dest = 'FBDEV_SW', default = False,
help = 'build fbdev-only software-only engine')
@ -93,9 +90,6 @@ def configure(conf): @@ -93,9 +90,6 @@ def configure(conf):
conf.env.LIB_HAIKU = ['network']
conf.env.LIBPATH_HAIKU = ['/boot/system/lib']
if conf.options.USE_SELECT == None:
conf.options.USE_SELECT = conf.options.DEDICATED
if conf.options.STATIC:
conf.env.STATIC = True
conf.define('XASH_NO_LIBDL',1)
@ -120,7 +114,6 @@ def configure(conf): @@ -120,7 +114,6 @@ def configure(conf):
conf.define_cond('XASH_CUSTOM_SWAP', conf.options.CUSTOM_SWAP)
conf.define_cond('SINGLE_BINARY', conf.env.SINGLE_BINARY)
conf.define_cond('XASH_NO_ASYNC_NS_RESOLVE', conf.options.NO_ASYNC_RESOLVE)
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('XASH_64BIT', conf.env.DEST_SIZEOF_VOID_P != 4)
conf.define_cond('DBGHELP', conf.env.DEST_OS == 'win32')

1
wscript

@ -196,7 +196,6 @@ def configure(conf): @@ -196,7 +196,6 @@ def configure(conf):
conf.options.GL4ES = True
conf.options.GL = False
elif conf.env.MAGX:
conf.options.USE_SELECT = True
conf.options.SDL12 = True
conf.options.NO_VGUI = True
conf.options.GL = False

Loading…
Cancel
Save