diff options
author | Ephi Sinowitz <esinowitz@bloomberg.net> | 2018-04-13 11:58:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-04-23 15:47:52 (GMT) |
commit | 76ad2ecb500c8652e59179959b8ecee28a5196de (patch) | |
tree | 2b1e52f6d39890d9b5fef4295999da7a5c20dbd8 /Help/release/dev | |
parent | fe0082875aeecead23b2351629abca4990dfba43 (diff) | |
download | CMake-76ad2ecb500c8652e59179959b8ecee28a5196de.zip CMake-76ad2ecb500c8652e59179959b8ecee28a5196de.tar.gz CMake-76ad2ecb500c8652e59179959b8ecee28a5196de.tar.bz2 |
Order SYSTEM include directories after non-system directories
An effect of the `-isystem` flag is to search the directory after those
specified via `-I` flags. Make behavior more consistent on compilers
that do not have any `-isystem` flag by explicitly moving system include
directories to the end.
Diffstat (limited to 'Help/release/dev')
-rw-r--r-- | Help/release/dev/reorder-sys-includes.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/release/dev/reorder-sys-includes.rst b/Help/release/dev/reorder-sys-includes.rst new file mode 100644 index 0000000..14d520f --- /dev/null +++ b/Help/release/dev/reorder-sys-includes.rst @@ -0,0 +1,7 @@ +reorder-sys-includes +-------------------- + +* Include directories marked as ``SYSTEM`` are now moved after non-system + directories. The ``-isystem`` flag does this automatically, so moving + them explicitly to the end makes the behavior consistent on compilers + that do not have any ``-isystem`` flag. |