|
@@ -7,14 +7,18 @@ MX2_WHOLE_ARCHIVE=0
|
|
|
'If you change anything below, you should rebuild all!
|
|
|
|
|
|
|
|
|
-'***** WINDOWS TARGET *****
|
|
|
-
|
|
|
-'(Note: TDM GCC not recommended, as it uses SJLJ exceptions which are very slow)
|
|
|
+'***** WINDOWS DESKTOP TARGET *****
|
|
|
|
|
|
'Need this to override installed mingws.
|
|
|
+'
|
|
|
GCC_EXEC_PREFIX=
|
|
|
|
|
|
-'Add MinGW to path...
|
|
|
+'Add MinGW build tools to path...
|
|
|
+'
|
|
|
+'MinGW build tools can be found at https://monkey2.monkey-x.com/monkey2-files. Extract into your devtools folder.
|
|
|
+'
|
|
|
+'(Note: TDM GCC not recommended, as it uses SJLJ exceptions which are very slow)
|
|
|
+'
|
|
|
PATH=${MX2_HOME}\devtools\i686-6.2.0-posix-dwarf-rt_v5-rev1\mingw32\bin;${PATH}
|
|
|
|
|
|
'Linker options
|
|
@@ -35,12 +39,18 @@ MX2_CPP_OPTS_WINDOWS_RELEASE=-O3 -DNDEBUG '-fvtable-gc -fdata-sections -ffunctio
|
|
|
|
|
|
'***** EMSCRIPTEN/WASM *****
|
|
|
|
|
|
-'To build emscripten apps, you'll need to download and install emscripten.
|
|
|
+'Add emscripten build tools to path...
|
|
|
+'
|
|
|
+'Pre-built Emscripten build tools can be found at https://monkey2.monkey-x.com/monkey2-files. Extract into your devtools folder.
|
|
|
'
|
|
|
-'To build wasm apps, you'll to install/build emscripten 'incoming' branch.
|
|
|
+'Or you can build emscripten yourself: https://github.com/juj/emsdk/blob/master/README.md
|
|
|
'
|
|
|
-'To run emscripten/wasm apps, you'll need MonkeyXFree86c in your devtools directory.
|
|
|
+PATH=${MX2_HOME}\devtools\emscripten-1.37.9\emscripten\tag-1.37.9;${PATH}
|
|
|
|
|
|
+PATH=${MX2_HOME}\devtools\emscripten-1.37.9\python\2.7.5.3_64bit;${PATH}
|
|
|
+
|
|
|
+'Add mserver_winnt emscripten mini-server/launcher.
|
|
|
+'
|
|
|
MX2_MSERVER="${MX2_HOME}\devtools\mserver-v86c\mserver_winnt.exe"
|
|
|
|
|
|
'Linker options
|