| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- 'Hack: prevent code stripping for reflection based apps.
- '
- MX2_WHOLE_ARCHIVE=0
- 'If you change anything below, you should rebuild all!
- '***** WINDOWS TARGET *****
- '(Note: Don't use TDM GCC, as it uses SJLJ exceptions which are very slow)
- 'Need this to override installed mingws.
- GCC_EXEC_PREFIX=
- 'Mingw-64 for 32 bit apps.
- PATH=${MX2_HOME}\devtools\i686-5.3.0-posix-dwarf-rt_v4-rev0\mingw32\bin;${PATH}
- PATH=${MX2_HOME}\devtools\i686-6.2.0-posix-dwarf-rt_v5-rev1\mingw32\bin;${PATH}
- 'Mingw-64 for 64 bit apps, but don't use 'coz no 64 bit angle lib yet.
- 'PATH=${MX2_HOME}\devtools\x86_64-5.3.0-posix-seh-rt_v4-rev0\mingw64\bin;${PATH}
- MX2_GCC_TOOLS_WINDOWS=${MX2_HOME}\devtools\i686-5.3.0-posix-dwarf-rt_v4-rev0\mingw32\bin
- 'Linker options
- MX2_LD_OPTS_WINDOWS=-static -m32
- MX2_LD_OPTS_WINDOWS_DEBUG=
- MX2_LD_OPTS_WINDOWS_RELEASE=-s -O3 '-Wl,--gc-sections
- 'C Compiler options
- MX2_CC_OPTS_WINDOWS=-std=gnu99 -m32
- MX2_CC_OPTS_WINDOWS_DEBUG=
- MX2_CC_OPTS_WINDOWS_RELEASE=-O3 -DNDEBUG '-fdata-sections -ffunction-sections
- 'C++ Compiler options
- MX2_CPP_OPTS_WINDOWS=-std=c++11 -m32
- MX2_CPP_OPTS_WINDOWS_DEBUG=
- MX2_CPP_OPTS_WINDOWS_RELEASE=-O3 -DNDEBUG '-fvtable-gc -fdata-sections -ffunction-sections
- '***** EMSCRIPTEN/WASM *****
- 'To build emscripten apps, you'll need to download and install emscripten.
- '
- 'To build wasm apps, you'll to install/build emscripten 'icoming' branch.
- '
- 'To run emscripten/wasm apps, you'll need MonkeyXFree86c in your devtools directory.
- MX2_MSERVER="${MX2_HOME}\devtools\mserver-v86c\mserver_winnt.exe"
- 'Linker options
- MX2_LD_OPTS_EMSCRIPTEN=-s USE_SDL=2 -s TOTAL_MEMORY=67108864 -s DISABLE_EXCEPTION_CATCHING=1
- MX2_LD_OPTS_EMSCRIPTEN_DEBUG=-O2
- MX2_LD_OPTS_EMSCRIPTEN_RELEASE=-O3
- 'C Compiler options
- MX2_CC_OPTS_EMSCRIPTEN=-std=gnu99 -s USE_SDL=2 -s TOTAL_MEMORY=67108864 -s DISABLE_EXCEPTION_CATCHING=1
- MX2_CC_OPTS_EMSCRIPTEN_DEBUG=-O2
- MX2_CC_OPTS_EMSCRIPTEN_RELEASE=-O3
- 'C++ Compiler options
- MX2_CPP_OPTS_EMSCRIPTEN=-std=c++11 -s USE_SDL=2 -s TOTAL_MEMORY=67108864 -s DISABLE_EXCEPTION_CATCHING=1
- MX2_CPP_OPTS_EMSCRIPTEN_DEBUG=-O2
- MX2_CPP_OPTS_EMSCRIPTEN_RELEASE=-O3
- '***** ANDROID *****
- 'This is where *my* ndk-bundle is located - yours is probably somewhere else!
- '
- 'For android builds, you need to either set this correctly or make sure 'ndk-build' is in your system PATH.
- 'PATH=D:\devtools\Android\sdk\ndk-bundle;${PATH}
- 'Uncomment below to build for ALL android architectures (slow). Defaults to armeabi-v7a.
- MX2_ANDROID_APP_ABI=armeabi-v7a x86
- 'MX2_ANDROID_APP_ABI=all
- '***** RASPBIAN *****
- MX2_RASPBIAN_TOOLS=${MX2_HOME}\devtools\SysGCC\Raspberry\bin
- 'Linker options
- MX2_LD_OPTS_RASPBIAN=-static
- MX2_LD_OPTS_RASPBIAN_DEBUG=
- MX2_LD_OPTS_RASPBIAN_RELEASE=-s ' -Wl,--gc-sections
- 'C Compiler options
- MX2_CC_OPTS_RASPBIAN=-std=gnu99
- MX2_CC_OPTS_RASPBIAN_DEBUG=
- MX2_CC_OPTS_RASPBIAN_RELEASE=-O3 -DNDEBUG ' -fdata-sections -ffunction-sections
- 'C++ Compiler options
- MX2_CPP_OPTS_RASPBIAN=-std=c++11
- MX2_CPP_OPTS_RASPBIAN_DEBUG=
- MX2_CPP_OPTS_RASPBIAN_RELEASE=-O3 -DNDEBUG ' -fvtable-gc -fdata-sections -ffunction-sections
|