mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 22:30:13 -06:00
Tests/RunCMake/property_init: test 'with_commands' properties
This commit is contained in:
@@ -12,3 +12,4 @@ run_cmake(NormalTarget)
|
||||
run_cmake(PICTargets)
|
||||
run_cmake(SharedLibrary)
|
||||
run_cmake(TargetsWithArtifact)
|
||||
run_cmake(TargetsWithCommands)
|
||||
|
||||
13
Tests/RunCMake/property_init/TargetsWithCommands.cmake
Normal file
13
Tests/RunCMake/property_init/TargetsWithCommands.cmake
Normal 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)
|
||||
Reference in New Issue
Block a user