[Cmake-commits] CMake branch, next, updated. v3.0.2-2064-g42be35d

Brad King brad.king at kitware.com
Tue Oct 14 11:22:44 EDT 2014


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  42be35d542106cb2fef90c8649bd55f11038c453 (commit)
       via  659605fbee9e9efc22cdd5050bacd1c094970604 (commit)
       via  4871885b9ce79c5d257ba0c2b879405631cd0bb8 (commit)
      from  1e55cff13198c644f6a3c3e31b0552050dd8fb4a (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=42be35d542106cb2fef90c8649bd55f11038c453
commit 42be35d542106cb2fef90c8649bd55f11038c453
Merge: 1e55cff 659605f
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Tue Oct 14 11:22:43 2014 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Tue Oct 14 11:22:43 2014 -0400

    Merge topic 'update-kwiml' into next
    
    659605fb Merge branch 'upstream-kwiml' into update-kwiml
    4871885b KWIML: Avoid if() quoted auto-dereference


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=659605fbee9e9efc22cdd5050bacd1c094970604
commit 659605fbee9e9efc22cdd5050bacd1c094970604
Merge: a7596fe 4871885
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Tue Oct 14 11:19:09 2014 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Tue Oct 14 11:19:09 2014 -0400

    Merge branch 'upstream-kwiml' into update-kwiml


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4871885b9ce79c5d257ba0c2b879405631cd0bb8
commit 4871885b9ce79c5d257ba0c2b879405631cd0bb8
Author:     Ben Boeckel <ben.boeckel at kitware.com>
AuthorDate: Tue Oct 14 10:25:32 2014 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Tue Oct 14 11:17:04 2014 -0400

    KWIML: Avoid if() quoted auto-dereference
    
    When testing CMAKE_<LANG>_COMPILER_ID values with if(STREQUAL), do not
    explicitly dereference or quote the variable.  We want if() to
    auto-dereference the variable and not its value.

diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index a2359cc..a16b5cd 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -20,7 +20,7 @@ set_property(DIRECTORY
 
 # Suppress printf/scanf format warnings; we test if the sizes match.
 foreach(lang C CXX)
-  if(KWIML_LANGUAGE_${lang} AND "${CMAKE_${lang}_COMPILER_ID}" STREQUAL GNU)
+  if(KWIML_LANGUAGE_${lang} AND CMAKE_${lang}_COMPILER_ID STREQUAL "GNU")
     set(CMAKE_${lang}_FLAGS "${CMAKE_${lang}_FLAGS} -Wno-format")
   endif()
 endforeach()

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

Summary of changes:


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list