summaryrefslogtreecommitdiffstats
path: root/Source/cmFileAPI.cxx
Commit message (Collapse)AuthorAgeFilesLines
* clang-tidy: Enable performance-inefficient-string-concatenationSebastian Holtermann2019-08-051-1/+1
| | | | | | | Enables the clang-tidy test performance-inefficient-string-concatenation and replaces all inefficient string concatenations with `cmStrCat`. Closes: #19555
* Merge topic 'clang-tidy-8'Brad King2019-07-311-3/+0
|\ | | | | | | | | | | | | 4af094c8df clang-tidy: Blacklist violations for version 8 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3627
| * clang-tidy: Blacklist violations for version 8Regina Pfeifer2019-07-301-3/+0
| | | | | | | | | | Check the codebase with clang-tidy version 8, fix the low hanging fruits, blacklist the rest.
* | cmStringAlgorithms: Move string functions to the new cmStringAlgorithms.hSebastian Holtermann2019-07-291-1/+1
|/ | | | | This adds the `cmStringAlgorithms.h` header and moves all string functions from `cmAlgorithms.h` to `cmStringAlgorithms.h`.
* fileapi: Suppress lint warning about non-move with old jsoncppBrad King2019-06-121-3/+3
|
* cmake: Teach -E capabilities to report supported fileapi requestsBrad King2019-06-071-0/+32
| | | | Fixes: #19339
* fileapi: Factor out helper to construct a version objectBrad King2019-06-071-14/+17
|
* cmSystemTools::RenameFile: Accepts std::string argsVitaly Stakhovsky2019-01-231-1/+1
|
* fileapi: add cmakeFiles v1Brad King2018-12-121-3/+60
| | | | Issue: #18398
* fileapi: add cache v2Brad King2018-12-121-0/+57
| | | | | | Start with v2 to distinguish it from server-mode v1. Issue: #18398
* fileapi: add codemodel v2Brad King2018-12-121-2/+59
| | | | | | Start with v2 to distinguish it from server-mode v1. Issue: #18398
* fileapi: Report cmake generator in reply index fileBrad King2018-12-121-0/+2
|
* fileapi: Add helper to create and reference a json reply fileBrad King2018-12-121-0/+12
|
* fileapi: Add protocol v1 support for stateful per-client queriesBrad King2018-12-121-5/+298
| | | | | | | | | | | | Add support for client-owned *stateful* query files. These allow clients to request a list of versions of each object kind and get only the first-listed version that CMake recognizes. Since clients own their stateful query files they can mutate them over time. As a client installation is updated it may update the queries that it writes to build trees to get newer object versions without paying the cost of continuing to generate older versions. Issue: #18398
* fileapi: Add protocol v1 support for client-specific query filesBrad King2018-12-121-2/+25
| | | | | | | | Add support for client-owned stateless query files. These allow clients to *own* requests for major object versions and get all those recognized by CMake. Issue: #18398
* fileapi: Add protocol v1 infrastructure with support for shared query filesBrad King2018-12-121-0/+299
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