You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122
  1. REM Command file to create the 64-bit executables for SNFServer on Windows.
  2. REM
  3. REM Copyright (c) 2013 ARM Research Corporation
  4. setlocal
  5. del SNFClient.exe SNF2Check.exe SNFServer.exe
  6. IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
  7. set path=c:\MinGW-64\bin;%path%
  8. set CXX=x86_64-pc-mingw32-c++
  9. set LIB=c:\MinGW-64\x86_64-pc-mingw32\lib64\libws2_32.a
  10. set CXXFLAGS=-Isource\CodeDweller -Isource\SNFMulti -s -O3 -fexpensive-optimizations
  11. set LDFLAGS=%LDFLAGS% %LIB% -static
  12. %CXX% source\SNFClient\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNFClient.exe %LDFLAGS%
  13. IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
  14. %CXX% source\SNF2Check\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNF2Check.exe %LDFLAGS%
  15. IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
  16. %CXX% source\SNFServer\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNFServer.exe %LDFLAGS%
  17. IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%