Tests/RunCMake/property_init: test 'with_commands' properties

This commit is contained in:
Ben Boeckel
2023-07-25 14:43:41 -04:00
parent 5f1bf85f84
commit efad4391e5
2 changed files with 14 additions and 0 deletions

View File

@@ -12,3 +12,4 @@ run_cmake(NormalTarget)
run_cmake(PICTargets)
run_cmake(SharedLibrary)
run_cmake(TargetsWithArtifact)
run_cmake(TargetsWithCommands)

View File

@@ -0,0 +1,13 @@
set(properties
# property expected alias
# Compilation properties
## Language
### CSharp
"DOTNET_TARGET_FRAMEWORK" "netcoreapp2.1" "<SAME>"
"DOTNET_TARGET_FRAMEWORK_VERSION" "v4.5" "<SAME>"
)
prepare_target_types(with_commands
EXECUTABLE MODULE OBJECT SHARED STATIC CUSTOM
IMPORTED_EXECUTABLE IMPORTED_MODULE IMPORTED_OBJECT IMPORTED_SHARED IMPORTED_STATIC)
run_property_tests(with_commands properties)