diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2022-11-11 16:44:47 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2022-11-11 17:29:41 (GMT) |
commit | 09d7f947d68796e8fde923a47636f1c764b5a7af (patch) | |
tree | 86f7cc8f0731ae27d1b372711169ecf00f5f9870 /Source/cmFileSet.h | |
parent | 553794e98706800a8c792bbcd81d49522333a50f (diff) | |
download | CMake-09d7f947d68796e8fde923a47636f1c764b5a7af.zip CMake-09d7f947d68796e8fde923a47636f1c764b5a7af.tar.gz CMake-09d7f947d68796e8fde923a47636f1c764b5a7af.tar.bz2 |
cmGeneratorExpression: Require cmake instance
Diffstat (limited to 'Source/cmFileSet.h')
-rw-r--r-- | Source/cmFileSet.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmFileSet.h b/Source/cmFileSet.h index 5357e77..54d430c 100644 --- a/Source/cmFileSet.h +++ b/Source/cmFileSet.h @@ -17,6 +17,7 @@ struct cmGeneratorExpressionDAGChecker; class cmGeneratorTarget; class cmLocalGenerator; class cmMakefile; +class cmake; enum class cmFileSetVisibility { @@ -33,7 +34,7 @@ bool cmFileSetVisibilityIsForInterface(cmFileSetVisibility vis); class cmFileSet { public: - cmFileSet(std::string name, std::string type, + cmFileSet(cmake& cmakeInstance, std::string name, std::string type, cmFileSetVisibility visibility); const std::string& GetName() const { return this->Name; } @@ -77,6 +78,7 @@ public: static bool IsValidName(const std::string& name); private: + cmake& CMakeInstance; std::string Name; std::string Type; cmFileSetVisibility Visibility; |