2
0
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:
Alibek Omarov 2018-10-22 01:01:22 +03:00
parent 7c9af89620
commit e9e364f054
2 changed files with 4 additions and 3 deletions

View File

@ -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!)')

View File

@ -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):