Author Topic: What goes in cb_release_type  (Read 28867 times)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2782
What goes in cb_release_type
« 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

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2782
Re: What goes in cb_release_type
« Reply #1 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.


Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: What goes in cb_release_type
« Reply #2 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... :-\ ???
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Diernan

  • Single posting newcomer
  • *
  • Posts: 2
Re: What goes in cb_release_type
« Reply #3 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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: What goes in cb_release_type
« Reply #4 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline jfpjr

  • Multiple posting newcomer
  • *
  • Posts: 27
Re: What goes in cb_release_type
« Reply #5 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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: What goes in cb_release_type
« Reply #6 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.