[Cmake-commits] CMake branch, next, updated. v2.8.10.2-2676-geb51de8

Brad King brad.king at kitware.com
Thu Mar 28 10:34:29 EDT 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  eb51de867ca9086a79735ae1c8eafe314f9a8ad9 (commit)
       via  4d668f3311896d1b7f06365b3b96e1724a417229 (commit)
      from  6684d713c0104325199e09791beaadbde86287bf (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=eb51de867ca9086a79735ae1c8eafe314f9a8ad9
commit eb51de867ca9086a79735ae1c8eafe314f9a8ad9
Merge: 6684d71 4d668f3
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Thu Mar 28 10:34:03 2013 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Mar 28 10:34:03 2013 -0400

    Merge topic 'dev/add-isystem-for-clang' into next
    
    4d668f3 Clang: Add -isystem flag support everywhere


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4d668f3311896d1b7f06365b3b96e1724a417229
commit 4d668f3311896d1b7f06365b3b96e1724a417229
Author:     Ben Boeckel <ben.boeckel at kitware.com>
AuthorDate: Tue Mar 26 13:21:37 2013 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Thu Mar 28 10:32:24 2013 -0400

    Clang: Add -isystem flag support everywhere
    
    In GNU.cmake, -isystem is not used if APPLE is set. However, Clang has
    pretty much always supported -isystem, so we should always use it.
    
    In the future, GNU.cmake should do a version check to see if -isystem is
    supported.

diff --git a/Modules/Compiler/Clang.cmake b/Modules/Compiler/Clang.cmake
index 75a971d..c6cd8f8 100644
--- a/Modules/Compiler/Clang.cmake
+++ b/Modules/Compiler/Clang.cmake
@@ -23,4 +23,5 @@ include(Compiler/GNU)
 macro(__compiler_clang lang)
   __compiler_gnu(${lang})
   set(CMAKE_${lang}_COMPILE_OPTIONS_PIE "-fPIE")
+  set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-isystem ")
 endmacro()

-----------------------------------------------------------------------

Summary of changes:


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list