clion – 构建Debug和Release版本的配置?

我可以在CLion中构建构建配置,构建Debug和Release版本吗?

默认情况下,“Build All”仅构建Debug.我可以改变它来构建Release,但这不是我想要的.我想要一个构建Debug和Release的单一配置.

问题是,否则,我的调试版和发行版可能会失去同步,这可能导致以后的混淆.

最佳答案 尝试使用Before Launch – >运行Another Configuration以添加其他Debug / Release配置.

《clion – 构建Debug和Release版本的配置?》

点赞