Explorar el Código

Added optimization "-s -O3 -fexpensive-optimizations".

git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-WIN/trunk@33 ca630060-9ba5-4a53-a91e-8214b6452a9a
master
adeniz hace 11 años
padre
commit
5473cd7deb
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1
    1
      BuildPackage/BuildExeX32.cmd
  2. 1
    1
      BuildPackage/BuildExeX64.cmd

+ 1
- 1
BuildPackage/BuildExeX32.cmd Ver fichero

@@ -9,7 +9,7 @@ IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
set path=c:\MinGW\bin;%path%
set CXX=c++
set LIB=c:\MinGW\lib\libws2_32.a
set CXXFLAGS=-Isource\CodeDweller -Isource\SNFMulti
set CXXFLAGS=-Isource\CodeDweller -Isource\SNFMulti -s -O3 -fexpensive-optimizations
set LDFLAGS=%LDFLAGS% %LIB% -static
%CXX% source\SNFClient\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNFClient.exe %LDFLAGS%

+ 1
- 1
BuildPackage/BuildExeX64.cmd Ver fichero

@@ -9,7 +9,7 @@ IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
set path=c:\MinGW-64\bin;%path%
set CXX=x86_64-pc-mingw32-c++
set LIB=c:\MinGW-64\x86_64-pc-mingw32\lib64\libws2_32.a
set CXXFLAGS=-Isource\CodeDweller -Isource\SNFMulti
set CXXFLAGS=-Isource\CodeDweller -Isource\SNFMulti -s -O3 -fexpensive-optimizations
set LDFLAGS=%LDFLAGS% %LIB% -static
%CXX% source\SNFClient\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNFClient.exe %LDFLAGS%

Cargando…
Cancelar
Guardar