Browse Source

+ setpath.bat file

pierre 23 years ago
parent
commit
f43db9aafe
1 changed files with 12 additions and 0 deletions
  1. 12 0
      installer/install.dat

+ 12 - 0
installer/install.dat

@@ -25,6 +25,7 @@ targetname=go32v2
 cfgfile=fpc.cfg
 idecfgfile=fp.cfg
 ideinifile=fp.ini
+
 filecheck=*go32.zip
 # Dos 1
 package=basego32.zip,~B~asic system for Go32v2 (required)
@@ -64,6 +65,7 @@ targetname=win32
 cfgfile=fpc.cfg
 idecfgfile=fp.cfg
 ideinifile=fp.ini
+setpathfile=setpath.bat
 filecheck=*w32.zip
 # Win32 1
 package=basew32.zip,~B~asic system for Win32 (required)
@@ -505,6 +507,16 @@ OpenExts="*.pas;*.pp;*.inc"
 
 endcfg
 
+
+defaultsetpath=
+@echo off
+echo Setting PATH for use with $TARGET Free Pascal compiler
+set A=$1\bin\$TARGET;%PATH%
+set Path=
+set PATH=%A%
+set A=
+endcfg
+
 #
 # That's all folks
 #