This patch series 'atomises' custom_commands in the cmake, such that there is no custom_command that contains multiple COMMANDs that have dependencies. This fixes the issue that make was not able to resolve these dependencies properly, and would sometimes create unusable headers if doing a parallel build.
Minimum CMake version is bumped to 3.18 in order to be able to use cat - this is a really common operation after atomising the commands.
This patch series 'atomises' custom_commands in the cmake, such that there is no custom_command that contains multiple COMMANDs that have dependencies. This fixes the issue that
make
was not able to resolve these dependencies properly, and would sometimes create unusable headers if doing a parallel build.Minimum CMake version is bumped to 3.18 in order to be able to use
cat
- this is a really common operation after atomising the commands.