mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-11 11:38:01 +02:00
instantfpc: environment option INSTANTFPCOPTIONS
git-svn-id: trunk@18996 -
This commit is contained in:
parent
927d080ab2
commit
117a874ba5
@ -25,7 +25,7 @@ uses
|
||||
Classes, SysUtils, InstantFPTools;
|
||||
|
||||
const
|
||||
Version = '1.0';
|
||||
Version = '1.1';
|
||||
|
||||
|
||||
Procedure Usage;
|
||||
@ -49,6 +49,8 @@ begin
|
||||
writeln(' If compilation was successful the program is executed.');
|
||||
writeln(' If the compiler options contains -B the program is always');
|
||||
writeln(' compiled.');
|
||||
writeln(' If the environment option INSTANTFPCOPTIONS is set it is');
|
||||
writeln(' passed to the compiler as first parameters.');
|
||||
writeln;
|
||||
writeln('instantfpc --get-cache');
|
||||
writeln(' Prints cache directory to stdout.');
|
||||
|
@ -238,7 +238,7 @@ var
|
||||
p: String;
|
||||
i : integer;
|
||||
begin
|
||||
Result:='';
|
||||
Result:=GetEnvironmentVariable('INSTANTFPCOPTIONS');
|
||||
I:=1;
|
||||
While (I<=ParamCount) and (Copy(ParamStr(i),1,1)='-') do
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user