mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 06:06:50 +00:00
update waf, enable gccdeps and msvcdeps
This commit is contained in:
parent
23204fcc73
commit
90e2937b32
6
wscript
6
wscript
@ -51,7 +51,7 @@ projects={
|
|||||||
'datacache',
|
'datacache',
|
||||||
'datamodel',
|
'datamodel',
|
||||||
'dmxloader',
|
'dmxloader',
|
||||||
'engine',
|
# 'engine',
|
||||||
'engine/voice_codecs/minimp3',
|
'engine/voice_codecs/minimp3',
|
||||||
'filesystem',
|
'filesystem',
|
||||||
'game/client',
|
'game/client',
|
||||||
@ -433,7 +433,7 @@ def check_deps(conf):
|
|||||||
# conf.multicheck(*a, run_all_tests = True, mandatory = True)
|
# conf.multicheck(*a, run_all_tests = True, mandatory = True)
|
||||||
|
|
||||||
def configure(conf):
|
def configure(conf):
|
||||||
conf.load('fwgslib reconfigure compiler_optimizations')
|
conf.load('fwgslib reconfigure compiler_c compiler_cxx compiler_optimizations gccdeps msvcdeps')
|
||||||
|
|
||||||
# Force XP compability, all build targets should add
|
# Force XP compability, all build targets should add
|
||||||
# subsystem=bld.env.MSVC_SUBSYSTEM
|
# subsystem=bld.env.MSVC_SUBSYSTEM
|
||||||
@ -495,7 +495,7 @@ def configure(conf):
|
|||||||
cflags, linkflags = conf.get_optimization_flags()
|
cflags, linkflags = conf.get_optimization_flags()
|
||||||
|
|
||||||
|
|
||||||
flags = []
|
flags = [] #'-M -MT']
|
||||||
|
|
||||||
if conf.options.SANITIZE:
|
if conf.options.SANITIZE:
|
||||||
flags += ['-fsanitize=%s'%conf.options.SANITIZE, '-fno-sanitize=vptr']
|
flags += ['-fsanitize=%s'%conf.options.SANITIZE, '-fno-sanitize=vptr']
|
||||||
|
Loading…
Reference in New Issue
Block a user