-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBuildBin.vs2015.cmd
33 lines (27 loc) · 1019 Bytes
/
BuildBin.vs2015.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
cd /d "%~dp0"
del /s Build\*.exe
del /s BuildTmp\*.res
call SetVersion.cmd
cscript /nologo ExpandEnvironmenStrings.vbs Version.in > Version.h
setlocal
set VisualStudioVersion=14.0
call "%VS140COMNTOOLS%vsvars32.bat"
for %%i in ( ^
..\freeimage\Source\FreeImageLib\FreeImageLib.vs2015.vcxproj ^
..\freeimage\Wrapper\FreeImagePlus\FreeImagePlus.vs2015.vcxproj ^
src\WinIMergeLib.vs2015.vcxproj ^
src\WinIMerge.vs2015.vcxproj ^
src\cidiff.vs2015.vcxproj ^
) do (
MSBuild %%i /t:build /p:Configuration=Release /p:Platform="Win32" /p:PlatformToolset=v140_xp || pause
MSBuild %%i /t:build /p:Configuration=Release /p:Platform="x64" /p:PlatformToolset=v140_xp || pause
)
if exist "%SIGNBAT_PATH%" (
"%SIGNBAT_PATH%" Build\Release\WinIMerge.exe
"%SIGNBAT_PATH%" Build\Release\WinIMergeLib.dll
"%SIGNBAT_PATH%" Build\Release\cidiff.exe
"%SIGNBAT_PATH%" Build\x64\Release\WinIMerge.exe
"%SIGNBAT_PATH%" Build\x64\Release\WinIMergeLib.dll
"%SIGNBAT_PATH%" Build\x64\Release\cidiff.exe
)
endlocal