summaryrefslogtreecommitdiff
path: root/plugins/ImportTXT/make.bat
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ImportTXT/make.bat')
-rw-r--r--plugins/ImportTXT/make.bat4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/ImportTXT/make.bat b/plugins/ImportTXT/make.bat
index 1ed8067177..93ffff1078 100644
--- a/plugins/ImportTXT/make.bat
+++ b/plugins/ImportTXT/make.bat
@@ -1,4 +1,8 @@
@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\Plugins"
set FPCBIN=fpc.exe