From 313c6a9c7435626d1cfbf1e7dd57a22b56c795a4 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 25 Jul 2023 14:36:52 -0400 Subject: Tests/RunCMake/property_init: test 'library_with_artifact' properties --- Tests/RunCMake/property_init/LibraryArtifact.cmake | 10 ++++++++++ Tests/RunCMake/property_init/RunCMakeTest.cmake | 1 + 2 files changed, 11 insertions(+) create mode 100644 Tests/RunCMake/property_init/LibraryArtifact.cmake 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" "" + ) + +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) -- cgit v0.12