cleaning should remove a target custom_command's byproduct files
add_custom_command(TARGET vpi POST_BUILD COMMAND ln -s $<TARGET_FILE_NAME:tgt> gpivpi.vpl BYPRODUCTS gpivpi.vpl)
to create a library alias for the
vpi target, which I install later, alongside the libraries. Because
make clean does not delete byproducts of a custom command, if I clean the library and rebuild it, the command fails. I can get around by adding the
-f option to
ln, but it seems like byproduct files should be removed on a
clean seeing as they are expected results of a build process.