Mark Sibly 9 лет назад
Родитель
Сommit
5dd76ff3cd
8 измененных файлов с 17 добавлено и 10 удалено
  1. 12 5
      .gitignore
  2. BIN
      README.TXT
  3. 3 3
      bin/env_windows.txt
  4. BIN
      bin/mx2cc_linux
  5. BIN
      bin/mx2cc_macos
  6. BIN
      bin/mx2cc_windows.exe
  7. 1 1
      scripts/rebuildall.bat
  8. 1 1
      scripts/rebuildall.sh

+ 12 - 5
.gitignore

@@ -8,11 +8,10 @@
 
 /desktop.ini
 
-/bananas
-
 /bin/*.dll
 /bin/assets
 /bin/ted2.state.json
+/bin/ted2_*
 
 /devtools/*
 !/devtools/.gitignore
@@ -26,7 +25,15 @@ __PAGES__/
 !/tmp/.gitignore
 
 /src/ted2
-/src/mojox/
+/src/mojox
+/src/launcher
+/src/mx2doc
+/src/createrelease
+
+/scripts/*.save
+/debug_test.monkey2
+
+/modules/timelinefx
+
+/tests/*
 
-/src/*.save
-debug_test.monkey2


+ 3 - 3
bin/env_windows.txt

@@ -21,15 +21,15 @@ MX2_BUILD_DIR_DESKTOP_RELEASE=desktop_release_windows
 
 MX2_LD_OPTS_DESKTOP=-m32 -static
 MX2_LD_OPTS_DESKTOP_DEBUG=
-MX2_LD_OPTS_DESKTOP_RELEASE=-s
+MX2_LD_OPTS_DESKTOP_RELEASE=-s ' -Wl,--gc-sections 
 
 MX2_CC_OPTS_DESKTOP=-std=gnu99 -m32
 MX2_CC_OPTS_DESKTOP_DEBUG=
-MX2_CC_OPTS_DESKTOP_RELEASE=-O3 -DNDEBUG
+MX2_CC_OPTS_DESKTOP_RELEASE=-O3 -DNDEBUG ' -fdata-sections -ffunction-sections
 
 MX2_CPP_OPTS_DESKTOP=-std=c++11 -m32
 MX2_CPP_OPTS_DESKTOP_DEBUG=
-MX2_CPP_OPTS_DESKTOP_RELEASE=-O3 -DNDEBUG
+MX2_CPP_OPTS_DESKTOP_RELEASE=-O3 -DNDEBUG ' -fvtable-gc -fdata-sections -ffunction-sections
 
 '***** EMSCRIPTEN *****
 

BIN
bin/mx2cc_linux


BIN
bin/mx2cc_macos


BIN
bin/mx2cc_windows.exe


+ 1 - 1
scripts/rebuildall.bat

@@ -2,5 +2,5 @@
 echo off
 
 call rebuildmods
-call rebuildted2
+rem call rebuildted2
 call makedocs

+ 1 - 1
scripts/rebuildall.sh

@@ -2,5 +2,5 @@
 source common.sh
 
 ./rebuildmods.sh
-./rebuildmx2cc.sh
+#./rebuildmx2cc.sh
 ./makedocs.sh