Procházet zdrojové kódy

* Set the state of externally compiled but not installed packages to tsNoCompile, to avoid triggering a recompile of packages that depend on it

git-svn-id: trunk@18784 -
joost před 14 roky
rodič
revize
c08f9e9657
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4 1
      packages/fpmkunit/src/fpmkunit.pp

+ 4 - 1
packages/fpmkunit/src/fpmkunit.pp

@@ -4282,7 +4282,10 @@ begin
               if not SysDirectoryExists(APackage.UnitDir) then
                 APackage.UnitDir:=DirNotFound
               else
-                APackage.FTargetState:=tsCompiled;
+                // Set the state to tsNoCompile and not tsCompiled. Because packages
+                // in the tsCompiled state trigger a rebuild of packages that depend
+                // on it.
+                APackage.FTargetState:=tsNoCompile;
             end
           else if not (APackage.FTargetState in [tsCompiled, tsNoCompile]) then
             begin