|
@@ -6,8 +6,7 @@ MX2_WHOLE_ARCHIVE=0
|
|
|
|
|
|
'If you change anything below, you should rebuild all!
|
|
|
|
|
|
-
|
|
|
-'***** WINDOWS DESKTOP TARGET *****
|
|
|
+'***** WINDOWS DESKTOP TARGET - MINGW *****
|
|
|
|
|
|
'Note: Requires MinGW compilers+build tools, see: https://monkey2.monkey-x.com/monkey2-files.
|
|
|
'
|
|
@@ -34,6 +33,31 @@ MX2_CPP_OPTS_WINDOWS=-std=c++11 -m32 -D_WIN32_WINNT=0x0603
|
|
|
MX2_CPP_OPTS_WINDOWS_DEBUG=
|
|
|
MX2_CPP_OPTS_WINDOWS_RELEASE=-O3 -DNDEBUG
|
|
|
|
|
|
+'***** WINDOWS DESKTOP TARGET - MSVC *****
|
|
|
+
|
|
|
+MX2_USE_MSVC=0
|
|
|
+
|
|
|
+PATH=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin;${PATH}
|
|
|
+
|
|
|
+INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE;C:\Program Files (x86)\Windows Kits\10\include\10.0.10586.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.10586.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.10586.0\shared;
|
|
|
+
|
|
|
+LIB=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB;C:\Program Files (x86)\Windows Kits\10\lib\10.0.10586.0\ucrt\x86;C:\Program Files (x86)\Windows Kits\10\lib\10.0.10586.0\um\x86;
|
|
|
+
|
|
|
+'Linker options
|
|
|
+MX2_LD_OPTS_MSVC=
|
|
|
+MX2_LD_OPTS_MSVC_DEBUG=
|
|
|
+MX2_LD_OPTS_MSVC_RELEASE=
|
|
|
+
|
|
|
+'C Compiler options. Note: -D_WIN32_WINNT=0x0601 means headers for Windows 7, ie: Windows 7 is min SDK!
|
|
|
+MX2_CC_OPTS_MSVC=-EHs -W0 -MT
|
|
|
+MX2_CC_OPTS_MSVC_DEBUG=
|
|
|
+MX2_CC_OPTS_MSVC_RELEASE=
|
|
|
+
|
|
|
+'C++ Compiler options
|
|
|
+MX2_CPP_OPTS_MSVC=-EHs -W0 -MT
|
|
|
+MX2_CPP_OPTS_MSVC_DEBUG=
|
|
|
+MX2_CPP_OPTS_MSVC_RELEASE=-Ox
|
|
|
+
|
|
|
|
|
|
'***** EMSCRIPTEN/WASM *****
|
|
|
|