VS: Add support for ADDITIONAL_CLEAN_FILES
ADDITIONAL_CLEAN_FILES
property is currently respected by Ninja and Makefile generators. It could be added to MSVC via MSBuild target AfterClean
section:
<Target Name="AfterClean">
<Delete Files="$(OutDir)\$(TargetName).exe" ContinueOnError="true" />
</Target>
It is a useful tool to have while #12877 (closed) is still worked on.
Edited by Brad King