OSDN Git Service

[VM][General][Qt] Merge upstream 2015-12-31.
[csp-qt/common_source_project-fm7.git] / source / manifest.bat
1 echo off
2 if exist "%ProgramFiles(x86)%" goto is_x64
3 set path="%ProgramFiles%\Windows Kits\8.1\bin\x86";%PATH%
4 goto start
5 :is_x64
6 set path="%ProgramFiles(x86)%\Windows Kits\8.1\bin\x86";%PATH%
7 :start
8 rmdir /s /q binary_vista
9 xcopy /e /y binary_xp binary_vista\
10 rmdir /s /q build_vista
11 xcopy /e /y build_xp build_vista\
12 pause
13
14 pushd binary_vista
15 for /r %%i in (*.exe) do mt.exe /manifest ..\src\res\vista.manifest -outputresource:%%i;1
16 popd
17 pushd build_vista
18 for /r %%i in (*.exe) do mt.exe /manifest ..\src\res\vista.manifest -outputresource:%%i;1
19 popd
20
21 pause
22 echo on