Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Pecan on November 24, 2012, 03:09:19 pm

Title: What goes in cb_release_type
Post by: Pecan on November 24, 2012, 03:09:19 pm
This window is unsizeable and I cannot reach the button to specify a file.

Also what should go in cb_release_type to get the usual CB developers build?


svn build  rev 8571 (2012-11-15 19:21:16)   gcc 4.3.1 Windows/unicode - 32 bit
Title: Re: What goes in cb_release_type
Post by: Pecan on November 24, 2012, 03:19:08 pm
I take it back. The window is sizable and I guess the entry for cb_release_type is a "-g" not a file.

Title: Re: What goes in cb_release_type
Post by: MortenMacFly on November 24, 2012, 03:39:13 pm
I take it back. The window is sizable and I guess the entry for cb_release_type is a "-g" not a file.
Yes, yes - its not nice, we are working on it. We need to make it a bit smarter.

The reason was that one can easily switch between debug (-g) and optimised (-O2) builds by just changing the value of this GCV. Maybe a bit over-done... I'll think about it... :-\ ???
Title: Re: What goes in cb_release_type
Post by: Diernan on December 28, 2012, 09:47:51 pm
I'm new at this. Maybe look foolish on my part but will not do so. cb_release_type believe that this undefined. Where do I define it? Thanks.
Title: Re: What goes in cb_release_type
Post by: MortenMacFly on December 29, 2012, 06:42:24 am
I'm new at this. Maybe look foolish on my part but will not do so. cb_release_type believe that this undefined. Where do I define it? Thanks.
In the global compiler vars (GCV). This window should open for you automatically when you open a project and the GCV is not yet defined. Thats the idea of GCV's: If not defined, ask the user. Once defined just use it. GCV definitions are per-user / per platform / per PC.

Read the WiKi section or the C::B: manual for more information.
Title: Re: What goes in cb_release_type
Post by: jfpjr on December 31, 2012, 06:12:41 pm
With all the talk about weather or not it should be there or not what needs to be set in the message box that popped up please.
Title: Re: What goes in cb_release_type
Post by: Jenna on December 31, 2012, 06:26:08 pm
With all the talk about weather or not it should be there or not what needs to be set in the message box that popped up please.
Any compiler option you want to set globally to all projects in the C::B workspace(s)/projects  or a space.