cmake-unit overrides add_custom_command so that it can print command names for generators in a workaround #55. This is known to be somewhat unreliable and prevents any client code from overriding add_custom_command too because CMake only stores one override entry in its function table.
Workaround: client code may not define any function named add_custom_command.
cmake-unit overrides
add_custom_commandso that it can print command names for generators in a workaround #55. This is known to be somewhat unreliable and prevents any client code from overridingadd_custom_commandtoo because CMake only stores one override entry in its function table.Workaround: client code may not define any function named
add_custom_command.