Several Clion debug configurations in cmake

I have a project with qt-gui and only with the command line. I have a debug and debug version for the gui and non gui versions. I want to have different names for debug configuration in gui and non gui versions. But when the configuration has a different name than Debug, debugging does not work and behaves like a release build. Is it possible to have multiple debug configurations, each with a different name? my generation settings

+4
source share
1 answer

Note. If you click Configure Debug, the following prompt will appear under CMake Settings:

-DCMAKE_BUILD_TYPE = Debug will be passed automatically

, -DCMAKE_BUILD_TYPE=Debug " CMake", ,

0

Source: https://habr.com/ru/post/1676078/


All Articles