News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

What goes in cb_release_type

Started by Pecan, November 24, 2012, 03:09:19 PM

Previous topic - Next topic

Pecan

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

Pecan

I take it back. The window is sizable and I guess the entry for cb_release_type is a "-g" not a file.


MortenMacFly

Quote from: 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.
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... :-\ ???
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Diernan

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.

MortenMacFly

Quote from: 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.
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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

jfpjr

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.

Jenna

Quote from: 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.
Any compiler option you want to set globally to all projects in the C::B workspace(s)/projects  or a space.