CLion 2021.1 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: 08 March 2021