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.