Run/Debug control Release/Debug builds
Answered
Is there a way to have a given Configuration build a release executable when Run is clicked, and a debug executable when Debug is clicked? I see no way to configure optimization levels and linker options based on which button is clicked.
My Configurations target Rust Cargo commands (eg. cargo run, cargo test, etc.), but I'm not sure that is relevant, from what I can tell.
Thank you for a great tool!
Please sign in to leave a comment.
Hi, Brad.
Unfortunately, it hasn't been implemented in CLion. Btw, you can use "Run..." and "Debug..." action with shortcuts to simplify running/picking the proper configuration (`File | Settings | Keymap`).
Thank you, Anna.