| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- 'Hack: prevent code stripping for reflection based apps.
- '
- MX2_WHOLE_ARCHIVE=0
- 'If you change anything below, you should rebuild all - including modules!
- '***** MACOS TARGET *****
- 'Hacks for dylibs in app
- MX2_APP_DIR_DYLIB= 'ie: dylibs go in app Contents/MacOS dir
- MX2_APP_DIR_FRAMEWORK=../Frameworks 'ie: frameworks go in app Contents/Frameworks dir
- 'LD options
- MX2_LD_OPTS_MACOS=-mmacosx-version-min=10.9 -Wl,-rpath,@executable_path -Wl,-rpath,@executable_path/../Frameworks
- MX2_LD_OPTS_MACOS_DEBUG=
- MX2_LD_OPTS_MACOS_RELEASE=-O3
- 'C compiler options
- MX2_CC_OPTS_MACOS=-std=gnu99 -mmacosx-version-min=10.9 -Wno-deprecated-declarations -Wno-tautological-pointer-compare -Wno-undefined-bool-conversion -Wno-int-to-void-pointer-cast -Wno-inconsistent-missing-override -Wno-logical-op-parentheses -Wno-parentheses-equality
- MX2_CC_OPTS_MACOS_DEBUG=
- MX2_CC_OPTS_MACOS_RELEASE=-O3 -DNDEBUG
- 'C++ compiler options
- MX2_CPP_OPTS_MACOS=-std=c++11 -mmacosx-version-min=10.9 -Wno-deprecated-declarations -Wno-tautological-pointer-compare -Wno-undefined-bool-conversion -Wno-int-to-void-pointer-cast -Wno-inconsistent-missing-override -Wno-logical-op-parentheses -Wno-parentheses-equality
- MX2_CPP_OPTS_MACOS_DEBUG=
- MX2_CPP_OPTS_MACOS_RELEASE=-O3 -DNDEBUG
- 'AS options
- MX2_AS_OPTS=
- '***** EMSCRIPTEN *****
- 'For emscripten builds, you need emcc, em++ and emar in your PATH.
- '
- 'Alas, modern macos apps no longer inherit PATH settings so we need to harccode some in.
- 'These may need to be changed depending on where you install emscripten.
- EMSCRIPTEN=${HOME}/emsdk/emscripten/1.35.0
- PATH=${HOME}/emsdk:${HOME}/emsdk/clang/e1.35.0_64bit:${HOME}/emsdk/node/0.12.2_64bit/bin:${HOME}/emsdk/emscripten/1.35.0:${PATH}
- 'El Capitan broke my python...
- PATH=/usr/local/bin:${PATH}
- 'To run emscripten apps, you'll need MonkeyXFree86c in your devtools dir.
- MX2_MSERVER=open "${MX2_HOME}/devtools/mserver-v86c/mserver_macos.app" --args
- 'LD 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 -DNDEBUG
- '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 -DNDEBUG
- '***** ANDROID *****
- PATH=${HOME}/Library/Android/sdk/ndk-bundle:${PATH}
- '***** IOS *****
- MX2_SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk
- MX2_DEPLOYMENT_TARGET=8.0
- 'LD options
- MX2_LD_OPTS_IOS=-arch armv7 -arch arm64 -isysroot ${MX2_SDKROOT}
- MX2_LD_OPTS_IOS_DEBUG=
- MX2_LD_OPTS_IOS_RELEASE=-O3
- 'C compiler options
- MX2_CC_OPTS_IOS=-std=gnu99 -arch armv7 -arch arm64 -miphoneos-version-min=${MX2_DEPLOYMENT_TARGET} -isysroot ${MX2_SDKROOT} -fobjc-arc -Wno-deprecated-declarations -Wno-tautological-pointer-compare -Wno-undefined-bool-conversion -Wno-int-to-void-pointer-cast -Wno-inconsistent-missing-override -Wno-logical-op-parentheses -Wno-parentheses-equality
- MX2_CC_OPTS_IOS_DEBUG=
- MX2_CC_OPTS_IOS_RELEASE=-O3 -DNDEBUG
- 'C++ compiler options
- MX2_CPP_OPTS_IOS=-std=c++11 -arch armv7 -arch arm64 -miphoneos-version-min=${MX2_DEPLOYMENT_TARGET} -isysroot ${MX2_SDKROOT} -fobjc-arc -Wno-deprecated-declarations -Wno-tautological-pointer-compare -Wno-undefined-bool-conversion -Wno-int-to-void-pointer-cast -Wno-inconsistent-missing-override -Wno-logical-op-parentheses -Wno-parentheses-equality
- MX2_CPP_OPTS_IOS_DEBUG=-O0 -g
- MX2_CPP_OPTS_IOS_RELEASE=-O3 -DNDEBUG
|