/src/CMake/Source/cmGlobCacheEntry.h
Line | Count | Source |
1 | | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying |
2 | | file LICENSE.rst or https://cmake.org/licensing for details. */ |
3 | | #pragma once |
4 | | |
5 | | #include "cmConfigure.h" // IWYU pragma: keep |
6 | | |
7 | | #include <string> |
8 | | #include <vector> |
9 | | |
10 | | struct cmGlobCacheEntry |
11 | | { |
12 | | bool const Recurse; |
13 | | bool const ListDirectories; |
14 | | bool const FollowSymlinks; |
15 | | std::string const Relative; |
16 | | std::string const Expression; |
17 | | std::vector<std::string> Files; |
18 | | |
19 | | cmGlobCacheEntry(bool recurse, bool listDirectories, bool followSymlinks, |
20 | | std::string relative, std::string expression, |
21 | | std::vector<std::string> files) |
22 | 0 | : Recurse(recurse) |
23 | 0 | , ListDirectories(listDirectories) |
24 | 0 | , FollowSymlinks(followSymlinks) |
25 | 0 | , Relative(std::move(relative)) |
26 | 0 | , Expression(std::move(expression)) |
27 | 0 | , Files(std::move(files)) |
28 | 0 | { |
29 | 0 | } |
30 | | }; |