Author Topic: why are there 2 sets of "build options" that aren't the same?  (Read 3149 times)

Offline mark1977

  • Multiple posting newcomer
  • *
  • Posts: 26
why are there 2 sets of "build options" that aren't the same?
« on: December 30, 2011, 05:00:01 pm »
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!
« Last Edit: December 30, 2011, 05:28:02 pm by mark1977 »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: why are there 2 sets of "build options" that aren't the same?
« Reply #1 on: December 30, 2011, 05:34:58 pm »
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.)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: why are there 2 sets of "build options" that aren't the same?
« Reply #2 on: December 30, 2011, 06:02:35 pm »
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!]

Offline mark1977

  • Multiple posting newcomer
  • *
  • Posts: 26
Re: why are there 2 sets of "build options" that aren't the same?
« Reply #3 on: December 30, 2011, 06:20:48 pm »
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.