CMake/Tests/RunCMake/FileAPI/ProjectQueryGood-check.cmake
Craig Scott 99b2ccf80d cmake_file_api: New project command
Projects can use the new command to request file API replies for the current
run. No query files are generated, the query is tracked internally. Replies are
created in the file system at generation time in the usual way.

Fixes: #24951
2023-06-05 06:20:50 -04:00

12 lines
296 B
CMake

set(expect
reply
reply/cache-v2-[0-9a-f]+.json
reply/cmakeFiles-v1-[0-9a-f]+.json
reply/codemodel-v2-[0-9a-f]+.json
.*reply/index-[0-9.T-]+.json
.*reply/toolchains-v1-[0-9a-f]+.json
)
# Only need to check for existence. Other tests check the reply contents.
check_api("^${expect}$")