mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
wscript: always optimize on MSVC(temporary) and always generate PDB using /Zi
This commit is contained in:
parent
20a177c783
commit
8b16c30fb8
6
wscript
6
wscript
@ -125,15 +125,15 @@ def configure(conf):
|
|||||||
|
|
||||||
compiler_c_cxx_flags = {
|
compiler_c_cxx_flags = {
|
||||||
'common': {
|
'common': {
|
||||||
'msvc': ['/D_USING_V110_SDK71_'],
|
'msvc': ['/D_USING_V110_SDK71_', '/Zi', '/O2'],
|
||||||
'default': ['-g', '-Werror=implicit-function-declaration']
|
'default': ['-g', '-Werror=implicit-function-declaration']
|
||||||
},
|
},
|
||||||
'release': {
|
'release': {
|
||||||
'msvc': ['/Zi', '/O2'],
|
'msvc': [],
|
||||||
'default': ['-O3']
|
'default': ['-O3']
|
||||||
},
|
},
|
||||||
'debug': {
|
'debug': {
|
||||||
'msvc': ['/O2', '/Ox', '/Oy'],
|
'msvc': ['/Ox', '/Oy'],
|
||||||
'clang': ['-O0', '-gdwarf-2'],
|
'clang': ['-O0', '-gdwarf-2'],
|
||||||
'default': ['-O0']
|
'default': ['-O0']
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user