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

Run CMake targets before launch

Last modified: 11 February 2024

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.