CLion
 
Get CLion
You are viewing the documentation for an earlier version of CLion.

CMake macros

Last modified: 13 July 2021

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