Support canceling custom targets in Visual Studio/MSBuild
Visual Studio provides a cancel button which can be used to stop a build of a target. This doesn't currently work with targets created by add_custom_target
. It seems that there is a way to do this described here.