Browse Source

wscript: spaces to tabs

pull/2/head
Alibek Omarov 6 years ago
parent
commit
e9d988f5d6
  1. 14
      wscript

14
wscript

@ -68,7 +68,7 @@ def options(opt):
help = 'SDL2 path to build(required for Windows)') help = 'SDL2 path to build(required for Windows)')
opt.add_option( 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)') help = 'build type: debug, release or none(custom flags)')
opt.recurse(SUBDIRS) opt.recurse(SUBDIRS)
@ -113,23 +113,23 @@ def configure(conf):
Logs.warn('WARNING: 64-bit engine may be unstable') Logs.warn('WARNING: 64-bit engine may be unstable')
linker_flags = { linker_flags = {
'common': { 'common': {
'msvc': ['/DEBUG'], 'msvc': ['/DEBUG'],
'default': ['-Wl,--no-undefined'] 'default': ['-Wl,--no-undefined']
} }
} }
compiler_c_cxx_flags = { compiler_c_cxx_flags = {
'common': { 'common': {
'msvc': ['/D_USING_V110_SDK71_'], 'msvc': ['/D_USING_V110_SDK71_'],
'default': ['-g'] 'default': ['-g']
}, },
'release': { 'release': {
'msvc': ['/Zi', '/O2'], 'msvc': ['/Zi', '/O2'],
'default': ['-O3'] 'default': ['-O3']
}, },
'debug': { 'debug': {
'msvc': ['/Z7'], 'msvc': ['/Z7'],
'clang': ['-O0', '-gdwarf-2'], 'clang': ['-O0', '-gdwarf-2'],
'default': ['-O0'] 'default': ['-O0']
} }

Loading…
Cancel
Save