git-svn-id: https://svn.microneil.com/svn/PKG-SNF4CGP-WIN/trunk@21 7d91e7c8-5a61-404e-b06a-95855fde9112master
@@ -0,0 +1,15 @@ | |||
REM Command file to create the 32-bit executables for SNF4CGP on Windows. | |||
REM | |||
REM Copyright (c) 2013 ARM Research Corporation | |||
setlocal | |||
del SNFClient.exe SNF2Check.exe SNF4CGP.exe | |||
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% | |||
%CXX% source\SNF2Check\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNF2Check.exe %LDFLAGS% | |||
%CXX% source\SNF4CGP\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNF4CGP.exe %LDFLAGS% |
@@ -0,0 +1,15 @@ | |||
REM Command file to create the 64-bit executables for SNF4CGP on Windows. | |||
REM | |||
REM Copyright (c) 2013 ARM Research Corporation | |||
setlocal | |||
del SNFClient.exe SNF2Check.exe SNF4CGP.exe | |||
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% | |||
%CXX% source\SNF2Check\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNF2Check.exe %LDFLAGS% | |||
%CXX% source\SNF4CGP\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNF4CGP.exe %LDFLAGS% |
@@ -0,0 +1,7 @@ | |||
REM Command file to create the 64-bit SNF4CGP module for Windows. | |||
REM | |||
REM Copyright (c) 2013 ARM Research Corporation | |||
setlocal | |||
BuildExeX32.cmd | |||
CreateModule.cmd |
@@ -0,0 +1,38 @@ | |||
REM Command file to create the 64-bit SNF4CGP module for Windows. | |||
REM | |||
REM Copyright (c) 2013 ARM Research Corporation | |||
setlocal | |||
TEMP_DIR=CGPSNF-TEMP | |||
MOD_DIR=CGPSNF | |||
MOD_PATH=%TEMP_DIR%\%MOD_DIR% | |||
MOD_ZIPBALL=CGPSNF-MODULE.zip | |||
RMDIR /S /Q %TEMP_DIR% | |||
MKDIR %TEMP_DIR% | |||
MKDIR %MOD_PATH% | |||
MKDIR %MOD_PATH%\hold | |||
MKDIR %MOD_PATH%\Doc | |||
COPY SNF4CGP.exe %MOD_PATH%\CGPSNF.exe | |||
COPY SNFClient.exe %MOD_PATH% | |||
COPY SNF2Check.exe %MOD_PATH% | |||
COPY curl.exe %MOD_PATH% | |||
COPY Scripts\getRulebase.cmd.sample %MOD_PATH% | |||
COPY test_files\*.txt %MOD_PATH% | |||
COPY test_files\cleanmsg.txt %MOD_PATH% | |||
COPY config_files\*.sample %MOD_PATH% | |||
COPY Doc\*.* %MOD_PATH%\Doc | |||
CD %TEMP_DIR% | |||
jzip -p -r ..\%MOD_ZIPBALL% %MOD_DIR% | |||
CD .. | |||
RMDIR /S /Q %TEMP_DIR% |