1 |
|
@echo off |
2 |
< |
REM Test suite Configuration parameters |
2 |
> |
REM Test suite Configuration parameters (FPCDIR and FPCBIN) |
3 |
|
REM These may be modified if needed to suite local requirements |
4 |
|
|
5 |
< |
|
6 |
< |
if EXIST C:\lazarus\fpc\3.0.2\bin\i386-win32\fpc.exe ( |
7 |
< |
set FPCDIR=C:\lazarus\fpc\3.0.2 |
8 |
< |
set FPCBIN=C:\lazarus\fpc\3.0.2\bin\i386-win32 |
9 |
< |
Goto COMPILE |
10 |
< |
) |
11 |
< |
|
12 |
< |
if EXIST C:\lazarus\fpc\3.0.2\bin\x86_64-win64\fpc.exe ( |
13 |
< |
set FPCDIR=C:\lazarus\fpc\3.0.2 |
14 |
< |
set FPCBIN=C:\lazarus\fpc\3.0.2\bin\x86_64-win64 |
15 |
< |
Goto COMPILE |
16 |
< |
) |
17 |
< |
|
18 |
< |
if EXIST C:\lazarus\fpc\3.0.0\bin\i386-win32\fpc.exe ( |
19 |
< |
set FPCDIR=C:\lazarus\fpc\3.0.0 |
20 |
< |
set FPCBIN=C:\lazarus\fpc\3.0.0\bin\i386-win32 |
21 |
< |
Goto COMPILE |
22 |
< |
) |
23 |
< |
|
24 |
< |
if EXIST C:\lazarus\fpc\3.0.0\bin\x86_64-win64\fpc.exe ( |
25 |
< |
set FPCDIR=C:\lazarus\fpc\3.0.0 |
26 |
< |
set FPCBIN=C:\lazarus\fpc\3.0.0\bin\x86_64-win64 |
27 |
< |
Goto COMPILE |
5 |
> |
FOR %%V in (3.0.4 3.0.2 3.0.0) do ( |
6 |
> |
if EXIST C:\lazarus\fpc\%%V\bin\i386-win32\fpc.exe ( |
7 |
> |
set FPCDIR=C:\lazarus\fpc\%%V |
8 |
> |
set FPCBIN=C:\lazarus\fpc\%%V\bin\i386-win32 |
9 |
> |
Goto COMPILE |
10 |
> |
) |
11 |
> |
if EXIST C:\lazarus\fpc\%%V\bin\x86_64-win32\fpc.exe ( |
12 |
> |
set FPCDIR=C:\lazarus\fpc\%%V |
13 |
> |
set FPCBIN=C:\lazarus\fpc\%%V\bin\x86_64-win32 |
14 |
> |
Goto COMPILE |
15 |
> |
) |
16 |
|
) |
17 |
|
|
18 |
|
if not EXIST %FPCBIN%\fpc.exe ( |