Small clean-up.
[LameXP.git] / res / z_mktools.bat
blob14222aa5407ed2ce7e269e8df9b4acdca288915d
1 @echo off
2 setlocal enabledelayedexpansion
3 cd /d "%~dp0"
5 for %%i in (tools\*.exe) do (
6         echo %%~nxi
7         set "OUTNAME=%%~ni"
8         set "OUTNAME=!OUTNAME:.=-!"
9         echo ^<!DOCTYPE RCC^> > "Tools.!OUTNAME!.qrc"
10         echo ^<RCC version="1.0"^>^<qresource^>^<file^>tools/%%~nxi^</file^>^</qresource^>^</RCC^> >> "Tools.!OUTNAME!.qrc"
13 pause