Browse Source

wscript: move sdl path to root wscript

pull/2/head
Alibek Omarov 6 years ago
parent
commit
e9e364f054
  1. 3
      engine/wscript
  2. 4
      wscript

3
engine/wscript

@ -8,9 +8,6 @@ import os @@ -8,9 +8,6 @@ import os
top = '.'
def options(opt):
opt.add_option(
'--sdl2', action='store', type='string', dest = 'SDL2_PATH', default = None,
help = 'SDL2 path to build(required for Windows)')
opt.add_option(
'--enable-bsp2', action = 'store_true', dest = 'SUPPORT_BSP2_FORMAT', default = False,
help = 'build engine with BSP2 map support(recommended for Quake, breaks compability!)')

4
wscript

@ -55,6 +55,10 @@ def options(opt): @@ -55,6 +55,10 @@ def options(opt):
'--no-gcc-colors', action = 'store_false', dest = 'GCC_COLORS', default = True,
help = 'do not enable gcc colors')
opt.add_option(
'--sdl2', action='store', type='string', dest = 'SDL2_PATH', default = None,
help = 'SDL2 path to build(required for Windows)')
opt.recurse(SUBDIRS)
def configure(conf):

Loading…
Cancel
Save