Windows: delete Release\*.tlog before building

This commit is contained in:
Tom Reynolds 2014-03-16 06:13:31 +01:00
parent 31a6a84c93
commit cf53540438
3 changed files with 9 additions and 5 deletions

@ -1 +1 @@
Subproject commit 368b27fa59f1b5804b4f166168f0f6645ce5fe8d
Subproject commit cfb41238ad446318b6dda34adba700194a5037c6

View File

@ -93,16 +93,18 @@ copy /b ..\..\source\glest_game\facilities\game_util.cpp +,,
rem Build Mega-Glest in release mode
ECHO --------------------------------
Echo Building Mega-Glest using Visual Studio 2010...
Echo Building MegaGlest using Visual Studio 2010...
set CL=
del ..\..\source\glest_game\facilities\gitversion.h
if not "%GITVERSION_SHA1%" == "." set CL=/DGITVERSIONHEADER
if not "%GITVERSION_SHA1%" == "." echo building with CL [%CL%]
if not "%GITVERSION_SHA1%" == "." echo building with CL [%CL%]
if not "%GITVERSION_SHA1%" == "." echo #define GITVERSION "%GITVERSION_REV%.%GITVERSION_SHA1%" > ..\..\source\glest_game\facilities\gitversion.h
if not "%GITVERSION_SHA1%" == "." copy /b ..\..\source\glest_game\facilities\game_util.cpp +,,
del Release\*.tlog
set msBuildMaxCPU=
SET BuildInParallel=false
SET BuildInParallelCount=

View File

@ -117,7 +117,7 @@ copy /b ..\..\source\glest_game\facilities\game_util.cpp +,,
rem Build Mega-Glest in release mode
ECHO --------------------------------
Echo Building Mega-Glest using Visual Studio 2012...
Echo Building MegaGlest using Visual Studio 2012...
set CL=/MP
rem set INCLUDE=%ProgramFiles(x86)%\Microsoft SDKs\Windows\7.1A\Include;%INCLUDE%
@ -138,10 +138,12 @@ rem set PlatformToolset=V110
del ..\..\source\glest_game\facilities\gitversion.h
if not "%GITVERSION_SHA1%" == "." set CL=/DGITVERSIONHEADER
if not "%GITVERSION_SHA1%" == "." echo building with CL [%CL%]
if not "%GITVERSION_SHA1%" == "." echo building with CL [%CL%]
if not "%GITVERSION_SHA1%" == "." echo #define GITVERSION "%GITVERSION_REV%.%GITVERSION_SHA1%" > ..\..\source\glest_game\facilities\gitversion.h
if not "%GITVERSION_SHA1%" == "." copy /b ..\..\source\glest_game\facilities\game_util.cpp +,,
del Release\*.tlog
rem set VisualStudioVersion=11.0
set msBuildMaxCPU=
SET BuildInParallel=false