summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FileAPI/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Add FileAPI case for cross-directory target_* commandsBrad King2022-08-221-1/+1
| | | | | | | | | | | The backtraces for some of the commands incorrectly come from the target's directory instead of the caller's directory. Expect the incorrect backtraces in test results for now. Increase the minimum required version of CMake in the test case to enable policy CMP0079 to support cross-directory calls. Issue: #23873
* fileapi: Add protocol v1 infrastructure with support for shared query filesBrad King2018-12-121-0/+3
Add a file-based API that clients may use to get semantic information about the buildsystem that CMake generates. Clients will write query files under a designated location in the build tree, and CMake will write reply files for clients to read. Start with support for shared stateless query files. These allow clients to share requests for major object versions and get all those recognized by CMake. Once any client has written a shared request to a build tree it will persist. Other clients will not need to overwrite the request (since it is stateless) and should not remove it either. For now we add only an undocumented object kind to use for testing the query and reply infrastructure. Object kinds providing real semantic information will be added later. Issue: #18398