Skip to content

Commit

Permalink
Added batch files (Windows) to rebuild and/or recompile all 32/64 bit…
Browse files Browse the repository at this point in the history
… versions.
  • Loading branch information
NormanDunbar committed Sep 18, 2019
1 parent aa52fe4 commit 234aad5
Show file tree
Hide file tree
Showing 6 changed files with 124 additions and 0 deletions.
8 changes: 8 additions & 0 deletions compile_all.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@echo off
rem Compile all RELEASE & DEBUG versions of the TraceMiner2 utility.
rem To rebuild all, use rebuild_all.cmd instead.
rem

call compile_release.cmd
call compile_debug.cmd

27 changes: 27 additions & 0 deletions compile_debug.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
@echo off
rem Compile all DEBUG versions of the TraceMiner2 utility.
rem To rebuild all, use rebuild_release.cmd instead.

rem Where is CodeBlocks to be found?
set CB=e:\CodeBlocks\codeblocks.exe

rem What is the project file called?
set CBP=e:\SourceCode\TraceMiner2\TraceMiner2.cbp

rem What will the logfile be called?
set LOG=e:\SourceCode\TraceMiner2\TraceMiner2.debug.log

rem Build all release targets
echo Building 32bit Debug .... > %LOG%
echo ========================= >> %LOG%
echo. >> %LOG%
%CB% --build --target="32bit Debug" %CBP% >>%LOG%

echo. >> %LOG%
echo Building 64bit Debug .... >> %LOG%
echo ========================= >> %LOG%
echo. >> %LOG%
%CB% --build --target="64bit Debug" %CBP% >>%LOG%

echo. >> %LOG%
echo Debug Build completed. See %LOG% for details.
27 changes: 27 additions & 0 deletions compile_release.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
@echo off
rem Compile all RELEASE versions of the TraceMiner2 utility.
rem To rebuild all, use rebuild_release.cmd instead.

rem Where is CodeBlocks to be found?
set CB=e:\CodeBlocks\codeblocks.exe

rem What is the project file called?
set CBP=e:\SourceCode\TraceMiner2\TraceMiner2.cbp

rem What will the logfile be called?
set LOG=e:\SourceCode\TraceMiner2\TraceMiner2.release.log

rem Build all release targets
echo Building 32bit Release .... > %LOG%
echo =========================== >> %LOG%
echo. >> %LOG%
%CB% --build --target="32bit Release" %CBP% >>%LOG%

echo. >> %LOG%
echo Building 64bit Release .... >> %LOG%
echo =========================== >> %LOG%
echo. >> %LOG%
%CB% --build --target="64bit Release" %CBP% >>%LOG%

echo. >> %LOG%
echo Release Build completed. See %LOG% for details.
8 changes: 8 additions & 0 deletions rebuild_all.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@echo off
rem Rebuild all RELEASE & DEBUG versions of the TraceMiner2 utility.
rem To compile all, use compile_all.cmd instead.
rem

call rebuild_release.cmd
call rebuild_debug.cmd

27 changes: 27 additions & 0 deletions rebuild_debug.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
@echo off
rem Rebuild all DEBUG versions of the TraceMiner2 utility.
rem To compile all, use compile_release.cmd instead.

rem Where is CodeBlocks to be found?
set CB=e:\CodeBlocks\codeblocks.exe

rem What is the project file called?
set CBP=e:\SourceCode\TraceMiner2\TraceMiner2.cbp

rem What will the logfile be called?
set LOG=e:\SourceCode\TraceMiner2\TraceMiner2.debug.log

rem Rebuild all release targets
echo Rebuilding 32bit Debug .... > %LOG%
echo =========================== >> %LOG%
echo. >> %LOG%
%CB% --rebuild --target="32bit Debug" %CBP% >>%LOG%

echo. >> %LOG%
echo Rebuilding 64bit Debug .... >> %LOG%
echo =========================== >> %LOG%
echo. >> %LOG%
%CB% --rebuild --target="64bit Debug" %CBP% >>%LOG%

echo. >> %LOG%
echo Debug Rebuild completed. See %LOG% for details.
27 changes: 27 additions & 0 deletions rebuild_release.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
@echo off
rem Rebuild all RELEASE versions of the TraceMiner2 utility.
rem To compile all, use compile_release.cmd instead.

rem Where is CodeBlocks to be found?
set CB=e:\CodeBlocks\codeblocks.exe

rem What is the project file called?
set CBP=e:\SourceCode\TraceMiner2\TraceMiner2.cbp

rem What will the logfile be called?
set LOG=e:\SourceCode\TraceMiner2\TraceMiner2.release.log

rem Rebuild all release targets
echo Rebuilding 32bit Release .... > %LOG%
echo ============================= >> %LOG%
echo. >> %LOG%
%CB% --rebuild --target="32bit Release" %CBP% >>%LOG%

echo. >> %LOG%
echo Rebuilding 64bit Release .... >> %LOG%
echo ============================= >> %LOG%
echo. >> %LOG%
%CB% --rebuild --target="64bit Release" %CBP% >>%LOG%

echo. >> %LOG%
echo Release Rebuild completed. See %LOG% for details.

0 comments on commit 234aad5

Please sign in to comment.