summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-07-25 18:36:52 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-07-29 13:35:20 (GMT)
commit313c6a9c7435626d1cfbf1e7dd57a22b56c795a4 (patch)
tree0c6b6449bf196ced7f49a78602e598cf48bc3bd5
parentbb469aef2d4aceaf347962ec790e486e71108963 (diff)
downloadCMake-313c6a9c7435626d1cfbf1e7dd57a22b56c795a4.zip
CMake-313c6a9c7435626d1cfbf1e7dd57a22b56c795a4.tar.gz
CMake-313c6a9c7435626d1cfbf1e7dd57a22b56c795a4.tar.bz2
Tests/RunCMake/property_init: test 'library_with_artifact' properties
-rw-r--r--Tests/RunCMake/property_init/LibraryArtifact.cmake10
-rw-r--r--Tests/RunCMake/property_init/RunCMakeTest.cmake1
2 files changed, 11 insertions, 0 deletions
diff --git a/Tests/RunCMake/property_init/LibraryArtifact.cmake b/Tests/RunCMake/property_init/LibraryArtifact.cmake
new file mode 100644
index 0000000..942b433
--- /dev/null
+++ b/Tests/RunCMake/property_init/LibraryArtifact.cmake
@@ -0,0 +1,10 @@
+per_config(properties
+ # property expected alias
+ # Linking properties
+ "_POSTFIX" "test" "<UNSET>"
+ )
+
+prepare_target_types(library_with_artifact
+ MODULE SHARED STATIC
+ IMPORTED_MODULE IMPORTED_SHARED IMPORTED_STATIC)
+run_property_tests(library_with_artifact properties)
diff --git a/Tests/RunCMake/property_init/RunCMakeTest.cmake b/Tests/RunCMake/property_init/RunCMakeTest.cmake
index 6ac4ceb..4a54db4 100644
--- a/Tests/RunCMake/property_init/RunCMakeTest.cmake
+++ b/Tests/RunCMake/property_init/RunCMakeTest.cmake
@@ -4,3 +4,4 @@ run_cmake(Always)
run_cmake(CompileSources)
run_cmake(Executable)
run_cmake(ImportedTargets)
+run_cmake(LibraryArtifact)