mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-23 13:14:51 +00:00
wscript: update.
This commit is contained in:
parent
0dd90846fe
commit
f0b649f507
11
wscript
11
wscript
@ -256,8 +256,8 @@ def configure(conf):
|
||||
conf.define_cond('HAVE_CMATH', cmath_usable)
|
||||
|
||||
if conf.env.COMPILER_CC == 'msvc':
|
||||
conf.define('_CRT_SECURE_NO_WARNINGS', 1)
|
||||
conf.define('_CRT_NONSTDC_NO_DEPRECATE', 1)
|
||||
conf.define('_CRT_SECURE_NO_WARNINGS', True)
|
||||
conf.define('_CRT_NONSTDC_NO_DEPRECATE', True)
|
||||
elif conf.env.COMPILER_CC == 'owcc':
|
||||
pass
|
||||
else:
|
||||
@ -271,14 +271,13 @@ def configure(conf):
|
||||
if conf.env.cxxshlib_PATTERN.startswith('lib'):
|
||||
conf.env.cxxshlib_PATTERN = conf.env.cxxshlib_PATTERN[3:]
|
||||
|
||||
conf.define('CLIENT_WEAPONS', '1')
|
||||
conf.define('BARNACLE_FIX_VISIBILITY', False)
|
||||
conf.define('CLIENT_WEAPONS', True)
|
||||
conf.define('CROWBAR_IDLE_ANIM', False)
|
||||
conf.define('CROWBAR_DELAY_FIX', False)
|
||||
conf.define('CROWBAR_FIX_RAPID_CROWBAR', False)
|
||||
conf.define('GAUSS_OVERCHARGE_FIX', False)
|
||||
|
||||
if conf.env.DEST_OS == 'android' or conf.options.ENABLE_MOD_HACKS:
|
||||
conf.define('MOBILE_HACKS', '1')
|
||||
conf.define('OEM_BUILD', False)
|
||||
|
||||
conf.add_subproject(["cl_dll", "dlls"])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user