Configuration that creates versions of Debug and Release?

Can I create an assembly configuration in CLion that will build both versions of Debug and Release?

By default, "Build All" only builds Debug. I can change it to create Release instead, but that is not what I want. I want one configuration that creates both Debug and Release.

The problem is that otherwise my versions of Debug and Release may go out of sync, which can lead to confusion later.

+4
source share
1 answer

Try using Before Run → Run Another Configuration to add another debug / release configuration.

Run another configuration

+2
source

All Articles