mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 22:30:07 -05:00
Tests/RunCMake/property_init: test 'executable' properties
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user