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.