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

Run CMake targets before launch

Last modified: 29 October 2021

CMake targets can be executed automatically before the launch of a run/debug configuration. This covers both the built-in CMake targets like all or clean and the targets specified via add_executable or add_custom_target.