CLion 自 2016.3 版本开始更改了 CMake 的工作流程, CLion 不再直接构建 CMake 支持的 4 种配置模式。
用户可以通过 File > Settings... > Build, Execution, Deployment > CMake 面板添加其余三种配置。
File > Settings... > Build, Execution, Deployment > CMake
点 + 号,然后在 Build type 下拉栏中选择所需的类型。
+
Build type
[1] Stack Overflow
CLion 中添加 release 配置
原文:https://www.cnblogs.com/imfm22/p/9092537.html