mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 09:56:22 +01:00
wscript: move sdl path to root wscript
This commit is contained in:
parent
7c9af89620
commit
e9e364f054
@ -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
4
wscript
@ -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…
Reference in New Issue
Block a user