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.
QuoteEven 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
Yeah, that worked. Thanks.