diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-07-25 18:40:18 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-07-29 13:35:21 (GMT) |
commit | 141049cf1654410efd961f424b65a5df6dd6fd5a (patch) | |
tree | dc03e90f73e17f1701a2411909f41b501599857f /Tests/RunCMake/property_init | |
parent | bc318ceb7f8a046edddd0288e085e6323ba7da4f (diff) | |
download | CMake-141049cf1654410efd961f424b65a5df6dd6fd5a.zip CMake-141049cf1654410efd961f424b65a5df6dd6fd5a.tar.gz CMake-141049cf1654410efd961f424b65a5df6dd6fd5a.tar.bz2 |
Tests/RunCMake/property_init: test 'normal' properties
Diffstat (limited to 'Tests/RunCMake/property_init')
-rw-r--r-- | Tests/RunCMake/property_init/NormalTarget.cmake | 10 | ||||
-rw-r--r-- | Tests/RunCMake/property_init/RunCMakeTest.cmake | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Tests/RunCMake/property_init/NormalTarget.cmake b/Tests/RunCMake/property_init/NormalTarget.cmake new file mode 100644 index 0000000..99507cf --- /dev/null +++ b/Tests/RunCMake/property_init/NormalTarget.cmake @@ -0,0 +1,10 @@ +per_config(properties + # property expected alias + # Usage requirement properties + "MAP_IMPORTED_CONFIG_" "Release" "<UNSET>" + ) + +prepare_target_types(normal + EXECUTABLE INTERFACE MODULE OBJECT SHARED STATIC + IMPORTED_EXECUTABLE IMPORTED_INTERFACE IMPORTED_MODULE IMPORTED_OBJECT IMPORTED_SHARED IMPORTED_STATIC) +run_property_tests(normal properties) diff --git a/Tests/RunCMake/property_init/RunCMakeTest.cmake b/Tests/RunCMake/property_init/RunCMakeTest.cmake index 8aff7de..be531db 100644 --- a/Tests/RunCMake/property_init/RunCMakeTest.cmake +++ b/Tests/RunCMake/property_init/RunCMakeTest.cmake @@ -8,3 +8,4 @@ run_cmake(LibraryArtifact) run_cmake(Linkable) run_cmake(NonImportedNormalTarget) run_cmake(NonImportedTarget) +run_cmake(NormalTarget) |