|
12345678910111213141516171819202122 |
- 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 -s -O3 -fexpensive-optimizations -D_USE_32BIT_TIME_T
- 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%
|