News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

why are there 2 sets of "build options" that aren't the same?

Started by mark1977, December 30, 2011, 05:00:01 PM

Previous topic - Next topic

mark1977

Hi,

I am running C::B 10.05 on Ubuntu 11, with a c++ project. I have noticed that the default compiler (gcc) does not like the compile options \EHs and \Zi. Now the strange thing is, in order to find BOTH of these I had to look in two different places:

Project-->Properties-->project settings tab-->Project's Build Options
button (at bottom right)-->then
Other Options and remove the /EHs compiler option

project-->Build options-->Other options tab-->remove the /Zi compiler option

So my question is, why are there 2 places for build options and why are they allowed to be different?

Thanks!

Jenna

In your project (if it is the same than the one you attached to the other thread), you have per target options and per project options.

Per project options apply to all targets in a project (if the policy is set to do so) and per target options just apply to one target (e.g. debugger settings for the debug-target, optimization options for the relkease target etc.)

oBFusCATed

mark1977:
Project-->Properties-->project settings tab-->Project's Build Options
and
Project-->Build options

Bring the same GUI with the same settings in it.

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

mark1977

I see (yes it was the same project). Thanks.

Looks like accessing the GUI one way brought up the whole-project options by default and the other brought up just the debug options by default.