summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0022/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-11-06 21:57:31 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-11-06 21:57:31 (GMT)
commit53b10fdad70c31dc5eb3b187833b8bcb498210e2 (patch)
tree44ef6001674b5feb9d57d6aa7a20499fcf86f7f7 /Tests/RunCMake/CMP0022/RunCMakeTest.cmake
parent6f98d7768c40e18aae2353124e0bd540ccae5308 (diff)
downloadCMake-53b10fdad70c31dc5eb3b187833b8bcb498210e2.zip
CMake-53b10fdad70c31dc5eb3b187833b8bcb498210e2.tar.gz
CMake-53b10fdad70c31dc5eb3b187833b8bcb498210e2.tar.bz2
Genex: Add a test for the LINK_ONLY expression.
Commit 239b0c6b (Don't add invalid content to static lib INTERFACE_LINK_LIBRARIES., 2013-10-20) extended a test which excercised the logic of the LINK_ONLY generator expression. Commit ef10b87c (CMP0022: Plain target_link_libraries must populate link interface, 2013-11-02) removed the instance of LINK_ONLY which was excercised by that test. Add a new test which excercises the other instance of LINK_ONLY by setting the CMP0022 policy to NEW and consuming the contents of the INTERFACE_LINK_LIBRARIES target property.
Diffstat (limited to 'Tests/RunCMake/CMP0022/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/CMP0022/RunCMakeTest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0022/RunCMakeTest.cmake b/Tests/RunCMake/CMP0022/RunCMakeTest.cmake
index 2781d20..4c10996 100644
--- a/Tests/RunCMake/CMP0022/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CMP0022/RunCMakeTest.cmake
@@ -7,6 +7,7 @@ run_cmake(CMP0022-WARN-empty-old)
run_cmake(CMP0022-NOWARN-exe)
run_cmake(CMP0022-NOWARN-shared)
run_cmake(CMP0022-NOWARN-static)
+run_cmake(CMP0022-NOWARN-static-NEW)
run_cmake(CMP0022-NOWARN-static-link_libraries)
run_cmake(CMP0022-export)
run_cmake(CMP0022-export-exe)