Просмотр исходного кода

Added -bigobj option for msvc builds.

Mark Sibly 7 лет назад
Родитель
Сommit
bea5c322b7
1 измененных файлов с 5 добавлено и 4 удалено
  1. 5 4
      bin/env_windows.txt

+ 5 - 4
bin/env_windows.txt

@@ -1,10 +1,10 @@
 'Use msvc 2017 community edition (mainly for x64 support, but it's also the latest/greatest).
 'Use msvc 2017 community edition (mainly for x64 support, but it's also the latest/greatest).
 '
 '
-MX2_USE_MSVC=1
+MX2_USE_MSVC=0
 
 
 'Build architecture: x86 or x64, x64 only working with msvc.
 'Build architecture: x86 or x64, x64 only working with msvc.
 '
 '
-MX2_ARCH_WINDOWS=x64
+MX2_ARCH_WINDOWS=x86
 
 
 'Semi-colon separated list of module root dirs, relative to MX2_HOME or absolute.
 'Semi-colon separated list of module root dirs, relative to MX2_HOME or absolute.
 '
 '
@@ -58,12 +58,13 @@ MX2_LD_OPTS_MSVC=
 MX2_LD_OPTS_MSVC_DEBUG=
 MX2_LD_OPTS_MSVC_DEBUG=
 MX2_LD_OPTS_MSVC_RELEASE=
 MX2_LD_OPTS_MSVC_RELEASE=
 
 
-MX2_CC_OPTS_MSVC=-EHs -W0 -MT -utf-8
+'C Compiler options
+MX2_CC_OPTS_MSVC=-EHs -W0 -MT -utf-8 -bigobj
 MX2_CC_OPTS_MSVC_DEBUG=-O1
 MX2_CC_OPTS_MSVC_DEBUG=-O1
 MX2_CC_OPTS_MSVC_RELEASE=-O2 -DNDEBUG
 MX2_CC_OPTS_MSVC_RELEASE=-O2 -DNDEBUG
 
 
 'C++ Compiler options
 'C++ Compiler options
-MX2_CPP_OPTS_MSVC=-EHs -W0 -MT -utf-8
+MX2_CPP_OPTS_MSVC=-EHs -W0 -MT -utf-8 -bigobj
 MX2_CPP_OPTS_MSVC_DEBUG=-O1
 MX2_CPP_OPTS_MSVC_DEBUG=-O1
 MX2_CPP_OPTS_MSVC_RELEASE=-O2 -DNDEBUG
 MX2_CPP_OPTS_MSVC_RELEASE=-O2 -DNDEBUG