mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-11 07:37:52 +00:00
wscript: spaces to tabs
This commit is contained in:
parent
7852192fc4
commit
e9d988f5d6
14
wscript
14
wscript
@ -68,7 +68,7 @@ def options(opt):
|
||||
help = 'SDL2 path to build(required for Windows)')
|
||||
|
||||
opt.add_option(
|
||||
'--build-type', action='store', type='string', dest='BUILD_TYPE', default = None,
|
||||
'--build-type', action='store', type='string', dest='BUILD_TYPE', default = None,
|
||||
help = 'build type: debug, release or none(custom flags)')
|
||||
|
||||
opt.recurse(SUBDIRS)
|
||||
@ -113,23 +113,23 @@ def configure(conf):
|
||||
Logs.warn('WARNING: 64-bit engine may be unstable')
|
||||
|
||||
linker_flags = {
|
||||
'common': {
|
||||
'msvc': ['/DEBUG'],
|
||||
'common': {
|
||||
'msvc': ['/DEBUG'],
|
||||
'default': ['-Wl,--no-undefined']
|
||||
}
|
||||
}
|
||||
|
||||
compiler_c_cxx_flags = {
|
||||
'common': {
|
||||
'msvc': ['/D_USING_V110_SDK71_'],
|
||||
'common': {
|
||||
'msvc': ['/D_USING_V110_SDK71_'],
|
||||
'default': ['-g']
|
||||
},
|
||||
'release': {
|
||||
'msvc': ['/Zi', '/O2'],
|
||||
'msvc': ['/Zi', '/O2'],
|
||||
'default': ['-O3']
|
||||
},
|
||||
'debug': {
|
||||
'msvc': ['/Z7'],
|
||||
'msvc': ['/Z7'],
|
||||
'clang': ['-O0', '-gdwarf-2'],
|
||||
'default': ['-O0']
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user