add_custom_command docs missing valid options for Build Events
The Build Events section contains an abbreviated set of valid options to add_custom_command()
, but some unlisted ones are actually valid. For example, COMMAND_EXPAND_LISTS
is not given as a valid option for Build Events but I really needed it to properly use generator expressions in a PRE_LINK
custom command so I tried adding it, and it does indeed work which is great! I'm using CMake 3.13.4.
It would be good to update the docs to specify which options are really supported.