[Cmake-commits] CMake branch, next, updated. v2.8.11.2-4181-g9d9bed9

Stephen Kelly steveire at gmail.com
Fri Sep 13 14:11:43 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  9d9bed9f8ac28de075dad33d72682a5576a16813 (commit)
       via  2aafaccc5e6d6a0cd557bc80d874a0b77baf8303 (commit)
      from  97e5a3856f9ccc5961d813ec689ffdf45d9f2612 (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=9d9bed9f8ac28de075dad33d72682a5576a16813
commit 9d9bed9f8ac28de075dad33d72682a5576a16813
Merge: 97e5a38 2aafacc
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Fri Sep 13 14:11:39 2013 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Sep 13 14:11:39 2013 -0400

    Merge topic 'fix-genex-preprocessing-incomplete-test' into next
    
    2aafacc genex: Test preprocessing incomplete expressions.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2aafaccc5e6d6a0cd557bc80d874a0b77baf8303
commit 2aafaccc5e6d6a0cd557bc80d874a0b77baf8303
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Fri Sep 13 17:51:10 2013 +0200
Commit:     Stephen Kelly <steveire at gmail.com>
CommitDate: Fri Sep 13 20:10:41 2013 +0200

    genex: Test preprocessing incomplete expressions.

diff --git a/Tests/RunCMake/include_directories/RunCMakeTest.cmake b/Tests/RunCMake/include_directories/RunCMakeTest.cmake
index f0704f4..f66823e 100644
--- a/Tests/RunCMake/include_directories/RunCMakeTest.cmake
+++ b/Tests/RunCMake/include_directories/RunCMakeTest.cmake
@@ -10,3 +10,4 @@ run_cmake(ImportedTarget)
 run_cmake(RelativePathInGenex)
 run_cmake(CMP0021)
 run_cmake(install_config)
+run_cmake(incomplete-genex)
diff --git a/Tests/RunCMake/include_directories/incomplete-genex.cmake b/Tests/RunCMake/include_directories/incomplete-genex.cmake
new file mode 100644
index 0000000..b6900a4
--- /dev/null
+++ b/Tests/RunCMake/include_directories/incomplete-genex.cmake
@@ -0,0 +1,23 @@
+project(incomplete-genex)
+
+cmake_policy(SET CMP0022 NEW)
+cmake_policy(SET CMP0023 NEW)
+
+add_library(somelib empty.cpp)
+
+# This test ensures that some internal mechanisms of cmGeneratorExpression
+# do not segfault (#14410).
+
+# Test that cmGeneratorExpression::Preprocess(StripAllGeneratorExpressions)
+# does not segfault
+target_include_directories(somelib PUBLIC
+  "/include;/include/$<BUILD_INTERFACE:subdir"
+)
+
+# Test that cmGeneratorExpression::Preprocess(BuildInterface) does not segfault
+export(TARGETS somelib FILE somelibTargets.cmake)
+
+install(TARGETS somelib EXPORT someExport DESTINATION prefix)
+# Test that cmGeneratorExpression::Preprocess(InstallInterface)
+# and cmGeneratorExpression::Split do not segfault
+install(EXPORT someExport DESTINATION prefix)

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

Summary of changes:


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list