Browse Source

wscript: spaces to tabs

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

20
wscript

@ -46,15 +46,15 @@ def options(opt): @@ -46,15 +46,15 @@ def options(opt):
opt.load('compiler_cxx compiler_c')
if sys.platform == 'win32':
opt.load('msvc msvs')
opt.add_option(
'--dedicated', action = 'store_true', dest = 'DEDICATED', default = False,
help = 'build Xash Dedicated Server(XashDS)')
opt.add_option(
'--64bits', action = 'store_true', dest = 'ALLOW64', default = False,
help = 'allow targetting 64-bit engine')
opt.add_option(
'--win-style-install', action = 'store_true', dest = 'WIN_INSTALL', default = False,
help = 'install like Windows build, ignore prefix, useful for development')
@ -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