仅限 CLion 调试配置

CLion only Debug configuration

我已经将 CLion 更新到最新版本 (2016.3.2)。

但是当我打开我的项目时,我只能在一个配置中编译debug 其余的都不见了。

在之前的版本中我可以选择:

除了Clion的版本升级,什么都没变

CMake 工作流在 CLion 2016.3 中确实发生了显着变化:当时 performance-related trade-off 决定只保留一个配置。

但是,使用多重配置的能力是 re-implemented 并改进了 in 2016.3.2:

Go to Settings/Preferences | Build, Execution, Deployment | CMake and create any number of CMake configurations from scratch, or copy existing ones (with all the settings pre-filled). When done, additional resolve context will be available in the bottom right-hand switcher in the editor.