mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00
cmLocalGenerator: De-duplicate StateSnapshot member
We have the member from the cmOutputConverter parent.
This commit is contained in:
@@ -88,7 +88,6 @@ static auto ruleReplaceVars = { "CMAKE_${LANG}_COMPILER",
|
||||
|
||||
cmLocalGenerator::cmLocalGenerator(cmGlobalGenerator* gg, cmMakefile* makefile)
|
||||
: cmOutputConverter(makefile->GetStateSnapshot())
|
||||
, StateSnapshot(makefile->GetStateSnapshot())
|
||||
, DirectoryBacktrace(makefile->GetBacktrace())
|
||||
{
|
||||
this->GlobalGenerator = gg;
|
||||
|
@@ -594,7 +594,6 @@ protected:
|
||||
virtual bool CheckDefinition(std::string const& define) const;
|
||||
|
||||
cmMakefile* Makefile;
|
||||
cmStateSnapshot StateSnapshot;
|
||||
cmListFileBacktrace DirectoryBacktrace;
|
||||
cmGlobalGenerator* GlobalGenerator;
|
||||
std::map<std::string, std::string> UniqueObjectNamesMap;
|
||||
|
@@ -102,6 +102,9 @@ public:
|
||||
};
|
||||
static FortranPreprocess GetFortranPreprocess(cm::string_view value);
|
||||
|
||||
protected:
|
||||
cmStateSnapshot StateSnapshot;
|
||||
|
||||
private:
|
||||
cmState* GetState() const;
|
||||
|
||||
@@ -111,7 +114,5 @@ private:
|
||||
static bool Shell_ArgumentNeedsQuotes(cm::string_view in, int flags);
|
||||
static std::string Shell_GetArgument(cm::string_view in, int flags);
|
||||
|
||||
cmStateSnapshot StateSnapshot;
|
||||
|
||||
bool LinkScriptShell;
|
||||
};
|
||||
|
Reference in New Issue
Block a user