How to rename my cmake config?

Hi, all

As we have known, in CMake Settings, we can add cmake configuration for different need such as Debug or Release. 

However I need to add more configurations for different platform. For example, I may need a config alternate using "-DARMV8 -DCMAKE_BUILD_TYPE=Debug" and "-DARMV7 -DCMAKE_BUILD_TYPE=Debug".

It seems that CLion uses the CMAKE_BUILD_TYPE as its config name. The result is that I have two configuration named "Debug" in "Run -> Edit Configuration" which makes me hard to distinguish them.

How can I solve this problem? 

0
Avatar
Permanently deleted user

Then, I use "-DCMAKE_BUILD_TYPE=ARMv7 -DCAMKE_CXX_FLAGS=-g" and "-DCMAKE_BUILD_TYPE=ARMv8 -DCAMKE_CXX_FLAGS=-g" as my cmake config so they can have different names, "ARMv8" and "ARMv7". However, it is weird. Why does CLion use CMAKE_BUILD_TYPE as its name? 

0

请先登录再写评论。