From 031bac8d1383106ab1c7446ce4d4c3a6c5840091 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 8 Apr 2019 16:02:12 +0300 Subject: [PATCH] wscript: move msvc.py initialization BEFORE compiler_c, so we can set compiler with --msvc_version command line switch --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 63692cb3..ed745d74 100644 --- a/wscript +++ b/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)