summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/make.bat
blob: b7c991dc565221ff1442ac0a7bb135ff3a63bd99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@echo off

set tp=%1
if "%tp%"=="" (echo "please specify target platform '32' or '64'!" && pause && goto :EOF)

rc version.rc

for /F "tokens=1,2,3" %%i in ('reg.exe query "HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0" /v MSBuildToolsPath') do call :SetPath %%i %%j %%k
echo Using .NET Framework Directory '%FrameworkDir%'
set PATH=%FrameworkDir%;%PATH%

MsBuild.exe historypp.dproj /t:Rebuild /p:Configuration=Release;Platform=Win%tp% /fileLogger /fileLoggerParameters:LogFile=Logs\icons%tp%.log;errorsonly;warningsonly;summary
goto :eof

:SetPath
if "%2" == "REG_SZ" set FrameworkDir="%3"
goto :eof