The 'Build options' dialog, when opened, by default selects the build target based on index of current build target, as selected via toolbar or menu (Build->Select target). For example, if I select the third option in Build->Selet target, then the third build target in 'Build Options' is selected. This logic ignores fact, that 'Build->Select target' doesn't necessarily display all targets that 'Build options' dialog has. It displays only a subset that's valid for current OS (or maybe Compiler installed).
For example if your project has 4 targets:
linux-debug, GCC compiler
windows-debug, MSVC compiler
linux-release, GCC compiler
windows-release, MSVC compiler
On linux, the 'Build->Selet target' offers only two targets, linux-debug and linux-release. You select the second one, eg. linux-release. Now, when you open 'Build Options' dialog, the second build target is selected, eg. 'windows-debug'.
This happens on C::B nightly, svn-r11979.
Can you post a sample project which could be used to reproduce the problem? I think only the cbp file would be enough, no need for the sources.
Here
Thanks, I can reproduce this.
Fixed in trunk/master.