IDE/lazbuild: fixed switching IDE/project when only compiler file changes

git-svn-id: trunk@48388 -
This commit is contained in:
mattias 2015-03-15 22:12:45 +00:00
parent 53ea897bac
commit f3692b49fe

View File

@ -2696,7 +2696,7 @@ begin
end;
if LCLTargetChanged then
CodeToolBoss.SetGlobalValue(ExternalMacroStart+'LCLWidgetType',fLCLWidgetType);
if FPCTargetChanged and (ScanFPCSrc<>smsfsSkip) then
if ScanFPCSrc<>smsfsSkip then
RescanCompilerDefines(false,false,ScanFPCSrc=smsfsWaitTillDone,Quiet);
//if (PackageGraph<>nil) and (PackageGraph.CodeToolsPackage<>nil) then debugln(['TBuildManager.SetBuildTarget CODETOOLS OUTDIR=',PackageGraph.CodeToolsPackage.CompilerOptions.GetUnitOutPath(true,coptParsed),' ',PackageGraph.CodeToolsPackage.CompilerOptions.ParsedOpts.ParsedStamp[pcosOutputDir],' ',CompilerParseStamp]);
end;