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.
This commit is contained in:
Juan Ramos
2024-02-06 20:23:19 -07:00
committed by Brad King
parent b832767940
commit 9cefa2f08d

View File

@@ -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>
)