mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 03:59:58 +00:00
6e59491659
Our custom command generation logic assumes that all command lines have at least `argv0`. In `add_custom_{command,target}` we already check that at least a `COMMAND` was given, but using `COMMAND_EXPAND_LISTS` in combination with a generator expression that expands to an empty string may produce an empty command line. In this case simply add an empty string as a command to maintain our internal invariant. Fixes: #17993 |
||
---|---|---|
.. | ||
BadTargetName-result.txt | ||
BadTargetName-stderr.txt | ||
BadTargetName.cmake | ||
ByproductsNoCommand-result.txt | ||
ByproductsNoCommand-stderr.txt | ||
ByproductsNoCommand.cmake | ||
CMakeLists.txt | ||
CommandExpandsEmpty.cmake | ||
NoArguments-result.txt | ||
NoArguments-stderr.txt | ||
NoArguments.cmake | ||
RunCMakeTest.cmake | ||
TargetOrder.cmake | ||
UsesTerminalNoCommand-result.txt | ||
UsesTerminalNoCommand-stderr.txt | ||
UsesTerminalNoCommand.cmake |