2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-12-22 17:01:14 +01:00

wscript: enable msvs.py, as it's handy for those who can actually install Python

This commit is contained in:
Alibek Omarov 2019-04-08 20:55:28 +03:00
parent 0840d9ec25
commit 20a177c783

View File

@ -71,7 +71,7 @@ def options(opt):
opt.load('xcompile compiler_cxx compiler_c sdl2')
if sys.platform == 'win32':
opt.load('msvc msdev')
opt.load('msvc msdev msvs')
def set_ignored_subdirs(subdirs):
for i in SUBDIRS:
@ -102,7 +102,7 @@ def configure(conf):
conf.env.MSVC_SUBSYSTEM = 'WINDOWS,5.01'
conf.env.MSVC_TARGETS = ['x86'] # explicitly request x86 target for MSVC
if sys.platform == 'win32':
conf.load('msvc msdev')
conf.load('msvc msdev msvs')
conf.load('xcompile compiler_c compiler_cxx gitversion clang_compilation_database')
# print(conf.options.ALLOW64)