summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/VerifyHeaderSets/VerifyHeaderSetsNonexistent.cmake
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2022-05-25 18:33:38 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2022-05-25 18:37:27 (GMT)
commitaadaac7f6dff05c90b61079d70e304d157ea9bab (patch)
tree620bdfa228029ece66b674bf9d06272e0ca867d1 /Tests/RunCMake/VerifyHeaderSets/VerifyHeaderSetsNonexistent.cmake
parent5dcf505f63037e23094146730704b031c57c5d06 (diff)
downloadCMake-aadaac7f6dff05c90b61079d70e304d157ea9bab.zip
CMake-aadaac7f6dff05c90b61079d70e304d157ea9bab.tar.gz
CMake-aadaac7f6dff05c90b61079d70e304d157ea9bab.tar.bz2
VERIFY_INTERFACE_HEADER_SETS: Add property for list of header sets
Add a new property, INTERFACE_HEADER_SETS_TO_VERIFY, which contains a list of header sets that should be verified by VERIFY_INTERFACE_HEADER_SETS. Fixes: #23522
Diffstat (limited to 'Tests/RunCMake/VerifyHeaderSets/VerifyHeaderSetsNonexistent.cmake')
-rw-r--r--Tests/RunCMake/VerifyHeaderSets/VerifyHeaderSetsNonexistent.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/VerifyHeaderSets/VerifyHeaderSetsNonexistent.cmake b/Tests/RunCMake/VerifyHeaderSets/VerifyHeaderSetsNonexistent.cmake
new file mode 100644
index 0000000..b269b73
--- /dev/null
+++ b/Tests/RunCMake/VerifyHeaderSets/VerifyHeaderSetsNonexistent.cmake
@@ -0,0 +1,5 @@
+enable_language(C)
+
+add_library(nonexistent STATIC lib.c)
+target_sources(nonexistent INTERFACE FILE_SET a TYPE HEADERS FILES a.h)
+set_property(TARGET nonexistent PROPERTY INTERFACE_HEADER_SETS_TO_VERIFY "a;c;b")