diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2021-12-21 22:12:51 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2022-01-07 00:46:41 (GMT) |
commit | a239f23a987a063852c8f29040ef4eaeaebf3b9c (patch) | |
tree | 1130ca42122ad547cd706803e8e48a3d35065eb5 /Tests | |
parent | 84d440caace3f65ef6ddd197098f8d83c0ecef70 (diff) | |
download | CMake-a239f23a987a063852c8f29040ef4eaeaebf3b9c.zip CMake-a239f23a987a063852c8f29040ef4eaeaebf3b9c.tar.gz CMake-a239f23a987a063852c8f29040ef4eaeaebf3b9c.tar.bz2 |
Refactor: Generalize file graph in CMakePresets
Before this refactoring, presets had a simple flag that marked them
as "user" or "not user", and checking the file graph of two files
was as simple as checking this flag. This only allowed for two files
in the graph. Generalize the code to allow for arbitrarily many files
in the graph.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/CMakePresets/UserInheritance-stderr.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CMakePresets/UserInheritance-stderr.txt b/Tests/RunCMake/CMakePresets/UserInheritance-stderr.txt index 213215a..5ad8b4b 100644 --- a/Tests/RunCMake/CMakePresets/UserInheritance-stderr.txt +++ b/Tests/RunCMake/CMakePresets/UserInheritance-stderr.txt @@ -1,2 +1,2 @@ ^CMake Error: Could not read presets from [^ -]*/Tests/RunCMake/CMakePresets/UserInheritance: Project preset inherits from user preset$ +]*/Tests/RunCMake/CMakePresets/UserInheritance: Inherited preset is unreachable from preset's file$ |