mirror of
https://github.com/reactos/CMake.git
synced 2025-04-02 07:11:33 +00:00
cmGlobalGenerator: Rename member to avoid shadowing
The `CurrentMakefile` member is shadowed by a generate-time member of the same name in `cmGlobalXCodeGenerator`. Rename our member to clarify its configure-time role and avoid the shadow.
This commit is contained in:
parent
877e7383b3
commit
c1f15e1c79
@ -90,7 +90,7 @@ cmGlobalGenerator::cmGlobalGenerator(cmake* cm)
|
||||
this->TryCompileTimeout = 0;
|
||||
|
||||
this->ExtraGenerator = CM_NULLPTR;
|
||||
this->CurrentMakefile = CM_NULLPTR;
|
||||
this->CurrentConfigureMakefile = CM_NULLPTR;
|
||||
this->TryCompileOuterMakefile = CM_NULLPTR;
|
||||
|
||||
this->ConfigureDoneCMP0026AndCMP0024 = false;
|
||||
|
@ -187,9 +187,15 @@ public:
|
||||
return this->LocalGenerators;
|
||||
}
|
||||
|
||||
cmMakefile* GetCurrentMakefile() const { return this->CurrentMakefile; }
|
||||
cmMakefile* GetCurrentMakefile() const
|
||||
{
|
||||
return this->CurrentConfigureMakefile;
|
||||
}
|
||||
|
||||
void SetCurrentMakefile(cmMakefile* mf) { this->CurrentMakefile = mf; }
|
||||
void SetCurrentMakefile(cmMakefile* mf)
|
||||
{
|
||||
this->CurrentConfigureMakefile = mf;
|
||||
}
|
||||
|
||||
void AddMakefile(cmMakefile* mf);
|
||||
|
||||
@ -460,7 +466,7 @@ protected:
|
||||
cmake* CMakeInstance;
|
||||
std::vector<cmMakefile*> Makefiles;
|
||||
std::vector<cmLocalGenerator*> LocalGenerators;
|
||||
cmMakefile* CurrentMakefile;
|
||||
cmMakefile* CurrentConfigureMakefile;
|
||||
// map from project name to vector of local generators in that project
|
||||
std::map<std::string, std::vector<cmLocalGenerator*> > ProjectMap;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user