Tests/RunCMake/property_init: test 'executable' properties

This commit is contained in:
Ben Boeckel
2023-07-25 14:35:19 -04:00
parent 5bad24935c
commit a6ebd68aa7
2 changed files with 26 additions and 0 deletions
@@ -0,0 +1,25 @@
set(dir "${CMAKE_CURRENT_BINARY_DIR}")
set(properties
# property expected alias
# Compilation properties
## Platforms
### Windows
"VS_DEBUGGER_COMMAND" "vsdbg" "<SAME>"
"VS_DEBUGGER_COMMAND_ARGUMENTS" "/?" "<SAME>"
"VS_DEBUGGER_ENVIRONMENT" "env=val" "<SAME>"
"VS_DEBUGGER_WORKING_DIRECTORY" "${dir}" "<SAME>"
# Linking properties
## Platforms
### Android
"ANDROID_GUI" "OFF" "<SAME>"
# Metadata
"CROSSCOMPILING_EMULATOR" "emu" "<SAME>"
)
prepare_target_types(executable
EXECUTABLE
IMPORTED_EXECUTABLE)
run_property_tests(executable properties)
@@ -2,3 +2,4 @@ include(RunCMake)
run_cmake(Always)
run_cmake(CompileSources)
run_cmake(Executable)