summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/LinkItemValidation/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-12-17 21:22:37 (GMT)
committerBrad King <brad.king@kitware.com>2021-12-20 14:56:51 (GMT)
commit37a25072eab0af07adb01594a9500d9a51a68be8 (patch)
tree1b1560919180849ca0b340be81e6ce07d51ff6bc /Tests/RunCMake/LinkItemValidation/RunCMakeTest.cmake
parentaf9fcbd006dca8489ef22d8ed5115894be35b2ac (diff)
downloadCMake-37a25072eab0af07adb01594a9500d9a51a68be8.zip
CMake-37a25072eab0af07adb01594a9500d9a51a68be8.tar.gz
CMake-37a25072eab0af07adb01594a9500d9a51a68be8.tar.bz2
Tests: Rename RunCMake.{CMP0028 => LinkItemValidation}
Generalize the test name to prepare for cases beyond CMP0028.
Diffstat (limited to 'Tests/RunCMake/LinkItemValidation/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/LinkItemValidation/RunCMakeTest.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/RunCMake/LinkItemValidation/RunCMakeTest.cmake b/Tests/RunCMake/LinkItemValidation/RunCMakeTest.cmake
new file mode 100644
index 0000000..0c72ca2
--- /dev/null
+++ b/Tests/RunCMake/LinkItemValidation/RunCMakeTest.cmake
@@ -0,0 +1,8 @@
+include(RunCMake)
+
+run_cmake(CMP0028-NEW)
+run_cmake(CMP0028-OLD)
+run_cmake(CMP0028-WARN)
+run_cmake(CMP0028-NEW-iface)
+run_cmake(CMP0028-OLD-iface)
+run_cmake(CMP0028-WARN-iface)