Browse Source

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

pull/2/head
Alibek Omarov 6 years ago
parent
commit
20a177c783
  1. 4
      wscript

4
wscript

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

Loading…
Cancel
Save