mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-11 14:42:05 +08:00
waf: upgrade to waf 2.1.1/waifu 1.3.0. Try to fix most optparse->argparse migration issues
This commit is contained in:
+4
-4
@@ -21,16 +21,16 @@ def options(opt):
|
||||
help = 'enable custom swap allocator. For devices with no swap support')
|
||||
|
||||
grp.add_option('--enable-legacy-sdl', action = 'store_true', dest = 'SDL12', default = False,
|
||||
help = 'enable using SDL1.2 instead of SDL2(not recommended) [default: %default]')
|
||||
help = 'enable using SDL1.2 instead of SDL2(not recommended) [default: %(default)s]')
|
||||
|
||||
grp.add_option('--enable-static-binary', action = 'store_true', dest = 'STATIC', default = False,
|
||||
help = 'build static binary(not recommended, --single-binary required) [default: %default]')
|
||||
help = 'build static binary(not recommended, --single-binary required) [default: %(default)s]')
|
||||
|
||||
grp.add_option('--enable-engine-tests', action = 'store_true', dest = 'ENGINE_TESTS', default = False,
|
||||
help = 'embed tests into the engine, jump into them by -runtests command line switch [default: %default]')
|
||||
help = 'embed tests into the engine, jump into them by -runtests command line switch [default: %(default)s]')
|
||||
|
||||
grp.add_option('--enable-engine-fuzz', action = 'store_true', dest = 'ENGINE_FUZZ', default = False,
|
||||
help = 'add LLVM libFuzzer [default: %default]' )
|
||||
help = 'add LLVM libFuzzer [default: %(default)s]' )
|
||||
|
||||
opt.load('sdl2')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user