summaryrefslogtreecommitdiff
path: root/plugins/Watrack/icons/makeicons.bat
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack/icons/makeicons.bat')
-rw-r--r--plugins/Watrack/icons/makeicons.bat4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/Watrack/icons/makeicons.bat b/plugins/Watrack/icons/makeicons.bat
index a2be4f8ccf..54306e33f5 100644
--- a/plugins/Watrack/icons/makeicons.bat
+++ b/plugins/Watrack/icons/makeicons.bat
@@ -1,4 +1,8 @@
rem @echo off
+set p1=%1
+set p2=%2
+if "%p1%" == "" (echo "please specify target platform by adding 'fpc' or 'fpc64 parameter to commamd line!'"&&pause&&goto :EOF)
+if "%p2%" == "" (echo "please specify target output directory by adding 10 for bin10 or 11 for bin11 to command line!'"&&pause&&goto :EOF)
if /i '%1' == 'fpc' (
set OUTDIR="..\..\..\bin%2\Release\Icons"
set FPCBIN=fpc.exe