BYPRODUCTS does not support generator expressions (add_custom_command called with BYPRODUCTS containing a "<". This character is not allowed.)
add_custom_command
(in this case I specifically tested the TARGET
form) does not support generator expressions in BYPRODUCTS
resulting in the error
add_custom_command called with BYPRODUCTS containing a "<". This character is not allowed.
As outputs/byproducts often have to depend on generator expressions (esp. when using multi-config generators), it would be good to support generator expressions in this position as well.