2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 09:56:22 +01:00

wscript: move msvc.py initialization BEFORE compiler_c, so we can set compiler with --msvc_version command line switch

This commit is contained in:
Alibek Omarov 2019-04-08 16:02:12 +03:00
parent 0cf1e3b1da
commit 031bac8d13

View File

@ -101,9 +101,9 @@ def configure(conf):
# TODO: wrapper around bld.stlib, bld.shlib and so on?
conf.env.MSVC_SUBSYSTEM = 'WINDOWS,5.01'
conf.env.MSVC_TARGETS = ['x86'] # explicitly request x86 target for MSVC
conf.load('xcompile compiler_c compiler_cxx gitversion clang_compilation_database')
if sys.platform == 'win32':
conf.load('msvc msvs')
conf.load('xcompile compiler_c compiler_cxx gitversion clang_compilation_database')
# print(conf.options.ALLOW64)