瀏覽代碼

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 11 年之前
父節點
當前提交
2860917fc7
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. 1
    1
      BuildPackage/BuildExeX32.cmd
  2. 1
    1
      BuildPackage/BuildExeX64.cmd

+ 1
- 1
BuildPackage/BuildExeX32.cmd 查看文件

@@ -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 查看文件

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

Loading…
取消
儲存