Author Topic: Code::Blocks won't generate build files for Release configuration  (Read 2648 times)

Offline DragonOsman2

  • Multiple posting newcomer
  • *
  • Posts: 12
Even though I selected the Release configuration option, both under Project->Properties->Build targets and also under Build options ("Release" on the left pane under the project's name), it still only builds for the Debug configuration.  I'm using Code::Blocks in a Linux VM on VirtualBox (it's an Ubuntu 18.04).

How do I get it to build for Release configuration?  Is there something I'm not doing?  Any help would be appreciated.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Code::Blocks won't generate build files for Release configuration
« Reply #1 on: October 25, 2018, 09:47:21 pm »
Quote
Even though I selected the Release configuration option, both under Project->Properties->Build targets and also under Build options ("Release" on the left pane under the project's name),
Have you selected release from the drop down menu near the build button? Or From build->select target?

If it still does not work:
Post a full rebuild log
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

Offline DragonOsman2

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: Code::Blocks won't generate build files for Release configuration
« Reply #2 on: October 25, 2018, 10:59:48 pm »
Yeah, that worked.  Thanks.