Browse Source

Updated binaries.

Mark Sibly 9 years ago
parent
commit
3a8022a867
8 changed files with 50 additions and 50 deletions
  1. 3 0
      .gitignore
  2. 18 7
      bin/env_macos.txt
  3. 20 34
      bin/env_windows.txt
  4. BIN
      bin/mx2cc_linux
  5. BIN
      bin/mx2cc_macos
  6. BIN
      bin/mx2cc_windows.exe
  7. 3 3
      scripts/common.bat
  8. 6 6
      scripts/common.sh

+ 3 - 0
.gitignore

@@ -23,4 +23,7 @@ __MANPAGES__/
 
 /modules/module-manager/downloads/*.zip
 
+/modules/wdw-game2d
+/modules/portmidi
+
 Monkey2 (Windows).exe

+ 18 - 7
bin/env_macos.txt

@@ -1,4 +1,9 @@
 
+'***** IMPORTANT ******
+
+'If you change anything in this file, you should rebuild all!
+
+
 '***** COMMON *****
 
 MX2_VERSION=002
@@ -33,27 +38,33 @@ MX2_CPP_OPTS_DESKTOP=-std=c++11 -Wno-deprecated-declarations -Wno-tautological-p
 MX2_CPP_OPTS_DESKTOP_DEBUG=-O0 '-g
 MX2_CPP_OPTS_DESKTOP_RELEASE=-O3 -DNDEBUG
 
+
 '***** EMSCRIPTEN *****
 
+' For emscripten builds, you need emcc, em++ and emar in your PATH.
+'
+' To run emscripten apps, you need 'MonkeyXFree86c' in your devtools dir.
+
+'Need this 'coz Mac is getting seriously locked down...
+'
 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}
 
-MX2_MSERVER=open "${MX2_HOME}devtools/MonkeyXFree86c/bin/mserver_macos.app" --args
-
 'El Capitan broke my python...
+'
 PATH=/usr/local/bin:${PATH}
 
 MX2_BUILD_DIR_EMSCRIPTEN_DEBUG=emscripten_debug
 MX2_BUILD_DIR_EMSCRIPTEN_RELEASE=emscripten_release
 
 MX2_LD_OPTS_EMSCRIPTEN=-s USE_SDL=2 -s FULL_ES2=1 -s TOTAL_MEMORY=67108864 -s DISABLE_EXCEPTION_CATCHING=1 ' -s USE_PTHREADS=1 -s PTHREAD_POOL_SIZE=1
-MX2_LD_OPTS_EMSCRIPTEN_DEBUG=-O2
+MX2_LD_OPTS_EMSCRIPTEN_DEBUG=-O0	'-O2
 MX2_LD_OPTS_EMSCRIPTEN_RELEASE=-O3
 
-MX2_CC_OPTS_EMSCRIPTEN=-std=gnu99 -s USE_SDL=2 -s FULL_ES2=1 -s TOTAL_MEMORY=67108864 -s DISABLE_EXCEPTION_CATCHING=1 -Wno-warn-absolute-paths ' -s USE_PTHREADS=1 -s PTHREAD_POOL_SIZE=1 -Wno-undefined-bool-conversion -Wno-inconsistent-missing-override -Wno-logical-op-parentheses -Wno-warn-absolute-paths 
-MX2_CC_OPTS_EMSCRIPTEN_DEBUG=-O2
+MX2_CC_OPTS_EMSCRIPTEN=-std=gnu99 -s USE_SDL=2 -s FULL_ES2=1 -s TOTAL_MEMORY=67108864 -s DISABLE_EXCEPTION_CATCHING=1 ' -s USE_PTHREADS=1 -s PTHREAD_POOL_SIZE=1 -Wno-undefined-bool-conversion -Wno-inconsistent-missing-override -Wno-logical-op-parentheses -Wno-warn-absolute-paths 
+MX2_CC_OPTS_EMSCRIPTEN_DEBUG=-O0	'-O2
 MX2_CC_OPTS_EMSCRIPTEN_RELEASE=-O3
 
-MX2_CPP_OPTS_EMSCRIPTEN=-std=c++11 -s USE_SDL=2 -s FULL_ES2=1 -s TOTAL_MEMORY=67108864 -s DISABLE_EXCEPTION_CATCHING=1 -Wno-warn-absolute-paths ' -s USE_PTHREADS=1 -s PTHREAD_POOL_SIZE=1 -Wno-undefined-bool-conversion
-MX2_CPP_OPTS_EMSCRIPTEN_DEBUG=-O2
+MX2_CPP_OPTS_EMSCRIPTEN=-std=c++11 -s USE_SDL=2 -s FULL_ES2=1 -s TOTAL_MEMORY=67108864 -s DISABLE_EXCEPTION_CATCHING=1 ' -s USE_PTHREADS=1 -s PTHREAD_POOL_SIZE=1 -Wno-undefined-bool-conversion
+MX2_CPP_OPTS_EMSCRIPTEN_DEBUG=-O0	'-O2
 MX2_CPP_OPTS_EMSCRIPTEN_RELEASE=-O3

+ 20 - 34
bin/env_windows.txt

@@ -32,39 +32,14 @@ MX2_CPP_OPTS_DESKTOP_DEBUG=
 MX2_CPP_OPTS_DESKTOP_RELEASE=-O3 -DNDEBUG ' -fvtable-gc -fdata-sections -ffunction-sections
 
 
-'***** ANDROID *****
-
-PATH=${MX2_HOME}\devtools\android-ndk-arm-12\bin;${PATH}
-
-MX2_BUILD_DIR_ANDROID_DEBUG=android_debug_windows
-MX2_BUILD_DIR_ANDROID_RELEASE=android_release_windows
-
-MX2_LD_OPTS_ANDROID=-shared -march=armv7-a -Wl,--fix-cortex-a8
-MX2_LD_OPTS_ANDROID_DEBUG=
-MX2_LD_OPTS_ANDROID_RELEASE=
-
-MX2_CC_OPTS_ANDROID=-std=gnu99 -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16
-MX2_CC_OPTS_ANDROID_DEBUG=
-MX2_CC_OPTS_ANDROID_RELEASE=-O3 -DNDEBUG
-
-MX2_CPP_OPTS_ANDROID=-std=c++11 -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16
-MX2_CPP_OPTS_ANDROID_DEBUG=
-MX2_CPP_OPTS_ANDROID_RELEASE=-O3 -DNDEBUG
-
-
 '***** EMSCRIPTEN *****
 
-'EM_CONFIG=C:\Users\Mark Sibly\.emscripten
-'EMSCRIPTEN=D:\devtools\Emscripten\emscripten\incoming
-
-'PATH=D:\devtools\Emscripten;${PATH}
-'PATH=D:\devtools\Emscripten\spidermonkey\37.0.1_64bit;${PATH}
-'PATH=D:\devtools\Emscripten\crunch\1.03;${PATH}
-'PATH=D:\devtools\Emscripten\clang\fastcomp\build_incoming_vs2013_64\RelWithDebInfo\bin;${PATH}
-'PATH=D:\devtools\Emscripten\node\4.1.1_64bit\bin;${PATH}
-'PATH=D:\devtools\Emscripten\python\2.7.5.3_64bit;${PATH}
-'PATH=D:\devtools\Emscripten\java\7.45_64bit\bin;${PATH}
-'PATH=D:\devtools\Emscripten\emscripten\incoming;${PATH}
+'Note:
+'
+' For emscripten builds, you'll need to ensure emcc, em++ and emar are usable from the command line.
+'
+' To run emscripten apps, you need to set MX2_SERVER
+'
 
 MX2_MSERVER="${MX2_HOME}\devtools\MonkeyXFree86c\bin\mserver_winnt"
 
@@ -72,13 +47,24 @@ MX2_BUILD_DIR_EMSCRIPTEN_DEBUG=emscripten_debug
 MX2_BUILD_DIR_EMSCRIPTEN_RELEASE=emscripten_release
 
 MX2_LD_OPTS_EMSCRIPTEN=-s USE_SDL=2 -s FULL_ES2=1 -s TOTAL_MEMORY=67108864 -s DISABLE_EXCEPTION_CATCHING=1 ' -s USE_PTHREADS=1 -s PTHREAD_POOL_SIZE=1
-MX2_LD_OPTS_EMSCRIPTEN_DEBUG=-O2
+MX2_LD_OPTS_EMSCRIPTEN_DEBUG=-O0	'-O2
 MX2_LD_OPTS_EMSCRIPTEN_RELEASE=-O3
 
 MX2_CC_OPTS_EMSCRIPTEN=-std=gnu99 -s USE_SDL=2 -s FULL_ES2=1 -s TOTAL_MEMORY=67108864 -s DISABLE_EXCEPTION_CATCHING=1 ' -s USE_PTHREADS=1 -s PTHREAD_POOL_SIZE=1 -Wno-undefined-bool-conversion -Wno-inconsistent-missing-override -Wno-logical-op-parentheses -Wno-warn-absolute-paths 
-MX2_CC_OPTS_EMSCRIPTEN_DEBUG=-O2
+MX2_CC_OPTS_EMSCRIPTEN_DEBUG=-O0	'-O2
 MX2_CC_OPTS_EMSCRIPTEN_RELEASE=-O3
 
 MX2_CPP_OPTS_EMSCRIPTEN=-std=c++11 -s USE_SDL=2 -s FULL_ES2=1 -s TOTAL_MEMORY=67108864 -s DISABLE_EXCEPTION_CATCHING=1 ' -s USE_PTHREADS=1 -s PTHREAD_POOL_SIZE=1 -Wno-undefined-bool-conversion
-MX2_CPP_OPTS_EMSCRIPTEN_DEBUG=-O2
+MX2_CPP_OPTS_EMSCRIPTEN_DEBUG=-O0	'-O2
 MX2_CPP_OPTS_EMSCRIPTEN_RELEASE=-O3
+
+
+'***** ANDROID *****
+
+'Notes:
+'
+' 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}

BIN
bin/mx2cc_linux


BIN
bin/mx2cc_macos


BIN
bin/mx2cc_windows.exe


+ 3 - 3
scripts/common.bat

@@ -1,9 +1,9 @@
 
 set mx2cc=..\bin\mx2cc_windows.exe
-set mx2cc_new=..\src\mx2cc\mx2cc.buildv1.0.3\desktop_release_windows\mx2cc.exe
+set mx2cc_new=..\src\mx2cc\mx2cc.buildv1.0.4\windows_release\mx2cc.exe
 
 set ted2=..\bin\ted2_windows
-set ted2_new=..\src\ted2\ted2.buildv1.0.3\desktop_release_windows
+set ted2_new=..\src\ted2\ted2.buildv1.0.4\windows_release
 
 set launcher="..\Monkey2 (Windows).exe"
-set launcher_new=..\src\launcher\launcher.buildv1.0.3\desktop_release_windows\launcher.exe
+set launcher_new=..\src\launcher\launcher.buildv1.0.4\windows_release\launcher.exe

+ 6 - 6
scripts/common.sh

@@ -10,22 +10,22 @@ if [ "$OSTYPE" = "linux-gnu" ]
 then
 
 	mx2cc="../bin/mx2cc_linux"
-	mx2cc_new="../src/mx2cc/mx2cc.buildv1.0.3/desktop_release_linux/mx2cc"
+	mx2cc_new="../src/mx2cc/mx2cc.buildv1.0.4/linux_release/mx2cc"
 	
 	ted2="../bin/ted2_linux"
-	ted2_new="../src/ted2/ted2.buildv1.0.3/desktop_release_linux"
+	ted2_new="../src/ted2/ted2.buildv1.0.4/linux_release"
 	
 	launcher="../Monkey2 (Linux)"
-	launcher_new="../src/launcher/launcher.buildv1.0.3/desktop_release_linux/launcher"
+	launcher_new="../src/launcher/launcher.buildv1.0.4/linux_release/launcher"
 	
 else
 
 	mx2cc="../bin/mx2cc_macos"
-	mx2cc_new="../src/mx2cc/mx2cc.buildv1.0.3/desktop_release_macos/mx2cc"
+	mx2cc_new="../src/mx2cc/mx2cc.buildv1.0.4/macos_release/mx2cc"
 	
 	ted2="../bin/ted2_macos.app"
-	ted2_new="../src/ted2/ted2.buildv1.0.3/desktop_release_macos/ted2.app"
+	ted2_new="../src/ted2/ted2.buildv1.0.4/macos_release/ted2.app"
 	
 	launcher="../Monkey2 (Macos).app"
-	launcher_new="../src/launcher/launcher.buildv1.0.3/desktop_release_macos/launcher.app"
+	launcher_new="../src/launcher/launcher.buildv1.0.4/macos_release/launcher.app"
 fi