mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 15:47:51 +02:00
+ skipemu added
This commit is contained in:
parent
ea0510c984
commit
71ef1067bb
@ -1020,7 +1020,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
if Config.SkipCPU<>'' then
|
if Config.SkipCPU<>'' then
|
||||||
begin
|
begin
|
||||||
Verbose(V_Debug,'Skip compiler cpu: '+Config.NeedCPU);
|
Verbose(V_Debug,'Skip compiler cpu: '+Config.SkipCPU);
|
||||||
if IsInList(CompilerCPU,Config.SkipCPU) then
|
if IsInList(CompilerCPU,Config.SkipCPU) then
|
||||||
begin
|
begin
|
||||||
{ avoid a second attempt by writing to elg file }
|
{ avoid a second attempt by writing to elg file }
|
||||||
@ -1032,6 +1032,22 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
if Res then
|
||||||
|
begin
|
||||||
|
if Config.SkipEmu<>'' then
|
||||||
|
begin
|
||||||
|
Verbose(V_Debug,'Skip emulator: '+emulatorname);
|
||||||
|
if IsInList(emulatorname,Config.SkipEmu) then
|
||||||
|
begin
|
||||||
|
{ avoid a second attempt by writing to elg file }
|
||||||
|
AddLog(EXELogFile,skipping_other_cpu+PPFileInfo);
|
||||||
|
AddLog(ResLogFile,skipping_other_cpu+PPFileInfo);
|
||||||
|
Verbose(V_Abort,'Emulator "'+emulatorname+'" is in list "'+Config.SkipEmu+'"');
|
||||||
|
Res:=false;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
if Res then
|
if Res then
|
||||||
begin
|
begin
|
||||||
if Config.NeedTarget<>'' then
|
if Config.NeedTarget<>'' then
|
||||||
@ -1113,7 +1129,10 @@ begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.43 2005-01-01 18:59:52 florian
|
Revision 1.44 2005-01-06 16:32:04 florian
|
||||||
|
+ skipemu added
|
||||||
|
|
||||||
|
Revision 1.43 2005/01/01 18:59:52 florian
|
||||||
+ emulator execution support added
|
+ emulator execution support added
|
||||||
|
|
||||||
Revision 1.42 2004/11/29 21:25:32 peter
|
Revision 1.42 2004/11/29 21:25:32 peter
|
||||||
|
@ -16,6 +16,7 @@ type
|
|||||||
NeedOptions,
|
NeedOptions,
|
||||||
NeedCPU,
|
NeedCPU,
|
||||||
SkipCPU,
|
SkipCPU,
|
||||||
|
SkipEmu,
|
||||||
NeedTarget,
|
NeedTarget,
|
||||||
SkipTarget,
|
SkipTarget,
|
||||||
MinVersion,
|
MinVersion,
|
||||||
@ -178,6 +179,9 @@ begin
|
|||||||
else
|
else
|
||||||
if GetEntry('SKIPCPU') then
|
if GetEntry('SKIPCPU') then
|
||||||
r.SkipCPU:=res
|
r.SkipCPU:=res
|
||||||
|
else
|
||||||
|
if GetEntry('SKIPEMU') then
|
||||||
|
r.SkipEmu:=res
|
||||||
else
|
else
|
||||||
if GetEntry('VERSION') then
|
if GetEntry('VERSION') then
|
||||||
r.MinVersion:=res
|
r.MinVersion:=res
|
||||||
|
Loading…
Reference in New Issue
Block a user