On Fri, 05 Jan 2018 02:59:56 +0100 Vojtěch Čihák via Lazarus <lazarus@lists.lazarus-ide.org> wrote:
> I found the reason but to make a patch is beyond my powers. > When I used the steps described below, I got this in console: >[...]is unchangedThe changes come from method >MainBuildBoss.SetBuildTargetProject1 which is called several times in main.pp, >mainly in TMainIDE.mnuToolConfigBuildLazClicked at line 4595. Yes, these are the switches between project and IDE settings. > It calls TBuildManager.SetBuildTarget and nested function > GetEffectiveLCLWidgetType where is line: > Result:=FBuildTarget.CompilerOptions.GetEffectiveLCLWidgetTypeIt is probably > the reason why combobox in "Configure Build Lazarus" is ignored and is > replaced by value from Compiler Options. No, when building the IDE the FBuildTarget is nil. See TBuildManager.SetBuildTargetIDE. Please start the IDE with -v -v to get more output. Mattias -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus