resolve cyclic dependency with zstd
[platform/upstream/cmake.git] / Source / cmPlaceholderExpander.h
1 /* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
2    file Copyright.txt or https://cmake.org/licensing for details.  */
3
4 #pragma once
5
6 #include "cmConfigure.h" // IWYU pragma: keep
7
8 #include <string>
9
10 class cmPlaceholderExpander
11 {
12 public:
13   virtual ~cmPlaceholderExpander() = default;
14
15   std::string& ExpandVariables(std::string& string);
16
17 protected:
18   virtual std::string ExpandVariable(std::string const& variable) = 0;
19 };