CLion
 
Get CLion
Join the CLion 2025.1 Early Access Program and try out new features before they are released! Find out more

CMake macros

Last modified: 11 February 2024

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

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

CMake macros