mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 21:59:54 -06:00
Use separate `CMake_TEST_CONTRACT_<project>` variables for each test. Make the set of possible tests match what is in the source tree.
8 lines
269 B
CMake
8 lines
269 B
CMake
# ValidateBuild.cmake is configured into this location when the test is built:
|
|
set(dir "${CMAKE_CURRENT_BINARY_DIR}/Contracts/${project}")
|
|
|
|
set(exe "${CMAKE_COMMAND}")
|
|
set(args -P "${dir}/ValidateBuild.cmake")
|
|
|
|
set(CMake_TEST_CONTRACT_Trilinos_RUN_TEST ${exe} ${args})
|