diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-07-25 18:35:19 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-07-29 13:35:20 (GMT) |
commit | a6ebd68aa7917fda6afd06064b862118ef26f6dd (patch) | |
tree | 6f50fd7263435e3d3a189d37b3be45f0493b60d3 /Tests/RunCMake/property_init | |
parent | 5bad24935cb9f224181c20fc4fc394d58c54921f (diff) | |
download | CMake-a6ebd68aa7917fda6afd06064b862118ef26f6dd.zip CMake-a6ebd68aa7917fda6afd06064b862118ef26f6dd.tar.gz CMake-a6ebd68aa7917fda6afd06064b862118ef26f6dd.tar.bz2 |
Tests/RunCMake/property_init: test 'executable' properties
Diffstat (limited to 'Tests/RunCMake/property_init')
-rw-r--r-- | Tests/RunCMake/property_init/Executable.cmake | 25 | ||||
-rw-r--r-- | Tests/RunCMake/property_init/RunCMakeTest.cmake | 1 |
2 files changed, 26 insertions, 0 deletions
diff --git a/Tests/RunCMake/property_init/Executable.cmake b/Tests/RunCMake/property_init/Executable.cmake new file mode 100644 index 0000000..ede0e4b --- /dev/null +++ b/Tests/RunCMake/property_init/Executable.cmake @@ -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) diff --git a/Tests/RunCMake/property_init/RunCMakeTest.cmake b/Tests/RunCMake/property_init/RunCMakeTest.cmake index ce66ff1..b8c155f 100644 --- a/Tests/RunCMake/property_init/RunCMakeTest.cmake +++ b/Tests/RunCMake/property_init/RunCMakeTest.cmake @@ -2,3 +2,4 @@ include(RunCMake) run_cmake(Always) run_cmake(CompileSources) +run_cmake(Executable) |