OSDN Git Service

Merge
[winmerge-jp/winmerge-jp.git] / BuildBin.vs2015.cmd
1 cd /d "%~dp0"
2
3 call SetVersion.cmd
4 cscript /nologo ExpandEnvironmenStrings.vbs Version.in > Version.h
5
6 setlocal
7 set VisualStudioVersion=14.0
8 call "%VS140COMNTOOLS%vsvars32.bat"
9 MSBuild WinMerge.vs2015.sln /t:Rebuild /p:Configuration="Release Unicode" /p:Platform="Win32" || pause
10 MSBuild WinMerge.vs2015.sln /t:Rebuild /p:Configuration="Release Unicode" /p:Platform="x64" || pause
11 endlocal
12
13 if exist "%SIGNBAT_PATH%" (
14   call "%SIGNBAT_PATH%" Build\MergeUnicodeRelease\WinMergeU.exe
15   call "%SIGNBAT_PATH%" Build\MergeUnicodeRelease\MergeLang.dll
16   call "%SIGNBAT_PATH%" Build\x64\MergeUnicodeRelease\WinMergeU.exe
17   call "%SIGNBAT_PATH%" Build\x64\MergeUnicodeRelease\MergeLang.dll
18 )
19
20 mkdir Build\MergeUnicodeRelease\%APPVER% 2> NUL
21 mkdir Build\x64\MergeUnicodeRelease\%APPVER% 2> NUL
22 copy Build\MergeUnicodeRelease\*.pdb "Build\MergeUnicodeRelease\%APPVER%\"
23 copy Build\x64\MergeUnicodeRelease\*.pdb "Build\x64\MergeUnicodeRelease\%APPVER%\"