merged subdirectory tests
This commit is contained in:
parent
9417d66dcf
commit
fdc7404466
1 changed files with 4 additions and 13 deletions
|
|
@ -6,22 +6,13 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# ~~~
|
# ~~~
|
||||||
|
|
||||||
# Test add_subdirectory suppport for headers
|
# Test add_subdirectory suppport
|
||||||
add_test(NAME integration.add_subdirectory_headers
|
add_test(NAME integration.add_subdirectory
|
||||||
COMMAND ${CMAKE_CTEST_COMMAND}
|
COMMAND ${CMAKE_CTEST_COMMAND}
|
||||||
--build-and-test ${CMAKE_CURRENT_LIST_DIR}/integration
|
--build-and-test ${CMAKE_CURRENT_LIST_DIR}/integration
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/add_subdirectory_headers
|
${CMAKE_CURRENT_BINARY_DIR}/add_subdirectory
|
||||||
--build-generator ${CMAKE_GENERATOR}
|
--build-generator ${CMAKE_GENERATOR}
|
||||||
--build-options -DFIND_PACKAGE_TESTING=OFF -DVULKAN_HEADERS_ENABLE_MODULE=OFF
|
--build-options -DFIND_PACKAGE_TESTING=OFF -DVULKAN_HEADERS_ENABLE_MODULE=${VULKAN_HEADERS_ENABLE_MODULE}
|
||||||
)
|
|
||||||
|
|
||||||
# Test add_subdirectory suppport for C++20 modules
|
|
||||||
add_test(NAME integration.add_subdirectory_modules
|
|
||||||
COMMAND ${CMAKE_CTEST_COMMAND}
|
|
||||||
--build-and-test ${CMAKE_CURRENT_LIST_DIR}/integration
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/add_subdirectory_modules
|
|
||||||
--build-generator ${CMAKE_GENERATOR}
|
|
||||||
--build-options -DFIND_PACKAGE_TESTING=OFF -DVULKAN_HEADERS_ENABLE_MODULE=ON
|
|
||||||
)
|
)
|
||||||
|
|
||||||
set(test_install_dir "${CMAKE_CURRENT_BINARY_DIR}/install")
|
set(test_install_dir "${CMAKE_CURRENT_BINARY_DIR}/install")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue