[Cmake-commits] CMake branch, next, updated. v3.5.1-755-g58a4efc

Brad King brad.king at kitware.com
Thu Mar 31 14:09:25 EDT 2016


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  58a4efca93fa9255a920a0bfa0890d3858acf656 (commit)
       via  fae80ee2c347b87a65b80a3c8caa598c40680cc0 (commit)
      from  020831c09ae516560894f217dbef0719e9483870 (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 -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=58a4efca93fa9255a920a0bfa0890d3858acf656
commit 58a4efca93fa9255a920a0bfa0890d3858acf656
Merge: 020831c fae80ee
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Thu Mar 31 14:09:25 2016 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Mar 31 14:09:25 2016 -0400

    Merge topic 'check-compiler-flag-clang-cl' into next
    
    fae80ee2 Check*CompilerFlag: Add another pattern for Clang (#16038)


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=fae80ee2c347b87a65b80a3c8caa598c40680cc0
commit fae80ee2c347b87a65b80a3c8caa598c40680cc0
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Thu Mar 31 08:50:48 2016 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Thu Mar 31 14:09:07 2016 -0400

    Check*CompilerFlag: Add another pattern for Clang (#16038)
    
    Match a warning pattern produced by `clang-cl`.
    
    Suggested-by: Reid Kleckner <rnk at google.com>

diff --git a/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake b/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
index 07d8b1e..a350a84 100644
--- a/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
+++ b/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
@@ -24,6 +24,7 @@ macro (CHECK_COMPILER_FLAG_COMMON_PATTERNS _VAR)
      FAIL_REGEX "[Uu]nrecogni[sz]ed .*option"               # GNU, NAG
      FAIL_REGEX "unknown .*option"                          # Clang
      FAIL_REGEX "optimization flag .* not supported"        # Clang
+     FAIL_REGEX "unknown argument ignored"                  # Clang (cl)
      FAIL_REGEX "ignoring unknown option"                   # MSVC, Intel
      FAIL_REGEX "warning D9002"                             # MSVC, any lang
      FAIL_REGEX "option.*not supported"                     # Intel

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

Summary of changes:


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list