diff options
author | Brad King <brad.king@kitware.com> | 2016-03-15 14:15:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-03-15 14:18:50 (GMT) |
commit | 6d74e7870b8804a5af0bc395a9fbb45c1b3d26a4 (patch) | |
tree | 3501d4f2d462509ca5b9451ab6943368a975d51c /Help | |
parent | 1d4ab06a7045edf366c689ba5e29bbc35d08718e (diff) | |
download | CMake-6d74e7870b8804a5af0bc395a9fbb45c1b3d26a4.zip CMake-6d74e7870b8804a5af0bc395a9fbb45c1b3d26a4.tar.gz CMake-6d74e7870b8804a5af0bc395a9fbb45c1b3d26a4.tar.bz2 |
Ninja: Add dependencies on system-provided header files (#14914)
When system-provided packages are upgraded we must re-compile sources
depending on their headers. Use `-MD` instead of `-MMD` so that the
generated depfiles do not exclude system headers.
Suggested-by: Jussi Judin
Diffstat (limited to 'Help')
-rw-r--r-- | Help/release/dev/ninja-depfile-system-headers.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/release/dev/ninja-depfile-system-headers.rst b/Help/release/dev/ninja-depfile-system-headers.rst new file mode 100644 index 0000000..7033cef --- /dev/null +++ b/Help/release/dev/ninja-depfile-system-headers.rst @@ -0,0 +1,5 @@ +ninja-depfile-system-headers +---------------------------- + +* The :generator:`Ninja` generator now includes system header files in build + dependencies to ensure correct re-builds when system packages are updated. |