I'm calling an existing Makefile for building, so in order to rebuild I'd need to call make clean
first. I see that Run | Clean
calls
cmake --build <dir> --target clean -- -j 4
Is there a way to make Run | Clean
run a custom target instead? For instance, one that is defined as:
add_custom_target(make-clean ALL COMMAND make -C ${mytest_SOURCE_DIR} clean)