Parcourir la source

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

git-svn-id: https://svn.microneil.com/svn/PKG-SNF4CGP-WIN/trunk@30 7d91e7c8-5a61-404e-b06a-95855fde9112
master
adeniz il y a 11 ans
Parent
révision
2860917fc7
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1
    1
      BuildPackage/BuildExeX32.cmd
  2. 1
    1
      BuildPackage/BuildExeX64.cmd

+ 1
- 1
BuildPackage/BuildExeX32.cmd Voir le fichier

@@ -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 Voir le fichier

@@ -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%

Chargement…
Annuler
Enregistrer