diff options
author | Juan Ramos <juan.ramos@kitware.com> | 2024-02-07 03:23:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-02-07 15:04:16 (GMT) |
commit | 9cefa2f08dd9cd41a133c1120fd0d53d15b6b665 (patch) | |
tree | d91373b8c8926ba2c8e477cc18a4116bf2c72954 | |
parent | b832767940698a7dc7a347e8643edd717747787d (diff) | |
download | CMake-9cefa2f08dd9cd41a133c1120fd0d53d15b6b665.zip CMake-9cefa2f08dd9cd41a133c1120fd0d53d15b6b665.tar.gz CMake-9cefa2f08dd9cd41a133c1120fd0d53d15b6b665.tar.bz2 |
Tests/FindVulkan: Allow easy way to switch between VulkanSDK installations
Running with `--fresh` resets the cache each time. Which is valuable
for switching between SDK installations.
-rw-r--r-- | Tests/FindVulkan/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/FindVulkan/CMakeLists.txt b/Tests/FindVulkan/CMakeLists.txt index 46ce1c6..d7c99ce 100644 --- a/Tests/FindVulkan/CMakeLists.txt +++ b/Tests/FindVulkan/CMakeLists.txt @@ -5,6 +5,7 @@ add_test(NAME FindVulkan.Test COMMAND "${CMake_BINARY_DIR}/Tests/FindVulkan/Test" ${build_generator_args} --build-project TestFindVulkan - --build-options ${build_options} + # Use --fresh to make testing multiple SDK versions on the same computer easier + --build-options ${build_options} --fresh --test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION> ) |