Browse Source

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

pull/2/head
Alibek Omarov 6 years ago
parent
commit
031bac8d13
  1. 2
      wscript

2
wscript

@ -101,9 +101,9 @@ def configure(conf): @@ -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…
Cancel
Save