Browse Source

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 11 years ago
parent
commit
5473cd7deb
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      BuildPackage/BuildExeX32.cmd
  2. 1
    1
      BuildPackage/BuildExeX64.cmd

+ 1
- 1
BuildPackage/BuildExeX32.cmd View File

set path=c:\MinGW\bin;%path% set path=c:\MinGW\bin;%path%
set CXX=c++ set CXX=c++
set LIB=c:\MinGW\lib\libws2_32.a 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 set LDFLAGS=%LDFLAGS% %LIB% -static
%CXX% source\SNFClient\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNFClient.exe %LDFLAGS% %CXX% source\SNFClient\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNFClient.exe %LDFLAGS%

+ 1
- 1
BuildPackage/BuildExeX64.cmd View File

set path=c:\MinGW-64\bin;%path% set path=c:\MinGW-64\bin;%path%
set CXX=x86_64-pc-mingw32-c++ set CXX=x86_64-pc-mingw32-c++
set LIB=c:\MinGW-64\x86_64-pc-mingw32\lib64\libws2_32.a 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 set LDFLAGS=%LDFLAGS% %LIB% -static
%CXX% source\SNFClient\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNFClient.exe %LDFLAGS% %CXX% source\SNFClient\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNFClient.exe %LDFLAGS%

Loading…
Cancel
Save