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

git-svn-id: branches/fixes_1_4@48389 -
This commit is contained in:
mattias 2015-03-15 22:13:00 +00:00
parent 59b563c301
commit 9c27301807

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;