Browse Source

Initial revision.

git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-WIN/trunk@31 ca630060-9ba5-4a53-a91e-8214b6452a9a
master
adeniz 11 years ago
parent
commit
ede13428cb
2 changed files with 44 additions and 0 deletions
  1. 22
    0
      BuildPackage/BuildExeX32.cmd
  2. 22
    0
      BuildPackage/BuildExeX64.cmd

+ 22
- 0
BuildPackage/BuildExeX32.cmd View File

@@ -0,0 +1,22 @@
REM Command file to create the 32-bit executables for SNFServer on Windows.
REM
REM Copyright (c) 2013 ARM Research Corporation
setlocal
del SNFClient.exe SNF2Check.exe SNFerver.exe
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 LDFLAGS=%LDFLAGS% %LIB% -static
%CXX% source\SNFClient\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNFClient.exe %LDFLAGS%
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
%CXX% source\SNF2Check\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNF2Check.exe %LDFLAGS%
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
%CXX% source\SNFServer\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNFServer.exe %LDFLAGS%
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%

+ 22
- 0
BuildPackage/BuildExeX64.cmd View File

@@ -0,0 +1,22 @@
REM Command file to create the 64-bit executables for SNFServer on Windows.
REM
REM Copyright (c) 2013 ARM Research Corporation
setlocal
del SNFClient.exe SNF2Check.exe SNFServer.exe
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 LDFLAGS=%LDFLAGS% %LIB% -static
%CXX% source\SNFClient\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNFClient.exe %LDFLAGS%
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
%CXX% source\SNF2Check\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNF2Check.exe %LDFLAGS%
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
%CXX% source\SNFServer\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNFServer.exe %LDFLAGS%
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%

Loading…
Cancel
Save