mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 16:09:31 +02:00
* Exampleunits are not compiled, so do not trigger a recompile if they are missing
* If a unit is not compiled for the current target, do not trigger a recompile when it is missing git-svn-id: trunk@18799 -
This commit is contained in:
parent
62f33a24c4
commit
46d8af7c9f
@ -4551,12 +4551,12 @@ begin
|
||||
if FForceCompile then
|
||||
Result:=true;
|
||||
|
||||
// For now exampleprograms are not compiled at all
|
||||
if ATarget.TargetType = ttExampleProgram then
|
||||
// For now examples are not compiled at all
|
||||
if ATarget.TargetType in [ttExampleUnit, ttExampleProgram] then
|
||||
Exit;
|
||||
|
||||
// Check output file
|
||||
if not result then
|
||||
if not result and TargetOK(ATarget) then
|
||||
begin
|
||||
if ATarget.TargetType in ProgramTargets then
|
||||
OD:=APackage.GetBinOutputDir(Defaults.CPU,Defaults.OS)
|
||||
|
Loading…
Reference in New Issue
Block a user