CLion 2021.2 Help

CMake macros

You can use CMake-specific macros when setting up run/debug configurations and external tools (for example, to use a project-related path).

Click Icons general add dark in the field where you want to insert a macro and select it from the list:

CMake macros
Last modified: 13 July 2021