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): @@ -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): @@ -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…
Cancel
Save