mirror of
https://github.com/reactos/CMake.git
synced 2024-12-14 23:29:57 +00:00
bd9c7f9b2c
Add policy CMP0058 to avoid generating 'phony' ninja rules for unknown custom command dependencies. This requires projects to specify their custom command byproducts explicitly. With this requirement we no longer have to assume that unknown custom command dependencies are generated and can instead simply assume they are source files expected to exist when the build starts. This is particularly important in in-source builds. It is also helpful for out-of-source builds to allow Ninja to diagnose missing files before running custom command rules that depend on them.
4 lines
111 B
CMake
4 lines
111 B
CMake
cmake_policy(SET CMP0058 OLD)
|
|
set(byproducts BYPRODUCTS byproduct1a byproduct1b)
|
|
include(CMP0058-common.cmake)
|