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:
parent
0cf1e3b1da
commit
031bac8d13
2
wscript
2
wscript
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user