summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FileAPI/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2023-06-02 07:16:57 (GMT)
committerBrad King <brad.king@kitware.com>2023-06-05 10:20:50 (GMT)
commit99b2ccf80dc87ccf6832508cc3f8889a70c2785f (patch)
tree6ff990a8878c0e90ee9c5b88ce876f7893e5c882 /Tests/RunCMake/FileAPI/RunCMakeTest.cmake
parent9a63aa8d57394fbddf913ce35c2d32bbf523f0e6 (diff)
downloadCMake-99b2ccf80dc87ccf6832508cc3f8889a70c2785f.zip
CMake-99b2ccf80dc87ccf6832508cc3f8889a70c2785f.tar.gz
CMake-99b2ccf80dc87ccf6832508cc3f8889a70c2785f.tar.bz2
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
Diffstat (limited to 'Tests/RunCMake/FileAPI/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/FileAPI/RunCMakeTest.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/FileAPI/RunCMakeTest.cmake b/Tests/RunCMake/FileAPI/RunCMakeTest.cmake
index c768d18..81926af 100644
--- a/Tests/RunCMake/FileAPI/RunCMakeTest.cmake
+++ b/Tests/RunCMake/FileAPI/RunCMakeTest.cmake
@@ -52,6 +52,8 @@ run_cmake(ClientStateless)
run_cmake(MixedStateless)
run_cmake(DuplicateStateless)
run_cmake(ClientStateful)
+run_cmake(ProjectQueryGood)
+run_cmake(ProjectQueryBad)
function(run_object object)
set(RunCMake_TEST_BINARY_DIR ${RunCMake_BINARY_DIR}/${object}-build)