Browse Source

wscript: always optimize on MSVC(temporary) and always generate PDB using /Zi

pull/2/head
Alibek Omarov 6 years ago
parent
commit
8b16c30fb8
  1. 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…
Cancel
Save