cmGeneratorTarget: Better name for internal variable

This commit is contained in:
Deniz Bahadir
2020-09-22 14:00:03 +02:00
parent 2c896c381b
commit d575ecc9de
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -276,7 +276,7 @@ cmGeneratorTarget::cmGeneratorTarget(cmTarget* t, cmLocalGenerator* lg)
, DebugLinkDirectoriesDone(false) , DebugLinkDirectoriesDone(false)
, DebugPrecompileHeadersDone(false) , DebugPrecompileHeadersDone(false)
, DebugSourcesDone(false) , DebugSourcesDone(false)
, LinkImplementationLanguageIsContextDependent(true) , SourcesAreContextDependent(true)
, UtilityItemsDone(false) , UtilityItemsDone(false)
{ {
this->Makefile = this->Target->GetMakefile(); this->Makefile = this->Target->GetMakefile();
@@ -692,7 +692,7 @@ void cmGeneratorTarget::ClearSourcesCache()
{ {
this->AllConfigSources.clear(); this->AllConfigSources.clear();
this->KindedSourcesMap.clear(); this->KindedSourcesMap.clear();
this->LinkImplementationLanguageIsContextDependent = true; this->SourcesAreContextDependent = true;
this->Objects.clear(); this->Objects.clear();
this->VisitedConfigsForObjects.clear(); this->VisitedConfigsForObjects.clear();
} }
@@ -1656,7 +1656,7 @@ std::vector<BT<std::string>> cmGeneratorTarget::GetSourceFilePaths(
if (!contextDependentDirectSources && if (!contextDependentDirectSources &&
!(contextDependentInterfaceSources && numFilesBefore < files.size()) && !(contextDependentInterfaceSources && numFilesBefore < files.size()) &&
!(contextDependentObjects && numFilesBefore2 < files.size())) { !(contextDependentObjects && numFilesBefore2 < files.size())) {
this->LinkImplementationLanguageIsContextDependent = false; this->SourcesAreContextDependent = false;
} }
return files; return files;
@@ -1733,7 +1733,7 @@ cmGeneratorTarget::KindedSources const& cmGeneratorTarget::GetKindedSources(
{ {
// If we already processed one configuration and found no dependenc // If we already processed one configuration and found no dependenc
// on configuration then always use the one result. // on configuration then always use the one result.
if (!this->LinkImplementationLanguageIsContextDependent) { if (!this->SourcesAreContextDependent) {
return this->KindedSourcesMap.begin()->second; return this->KindedSourcesMap.begin()->second;
} }
+1 -1
View File
@@ -1069,7 +1069,7 @@ private:
mutable bool DebugLinkDirectoriesDone; mutable bool DebugLinkDirectoriesDone;
mutable bool DebugPrecompileHeadersDone; mutable bool DebugPrecompileHeadersDone;
mutable bool DebugSourcesDone; mutable bool DebugSourcesDone;
mutable bool LinkImplementationLanguageIsContextDependent; mutable bool SourcesAreContextDependent;
mutable bool UtilityItemsDone; mutable bool UtilityItemsDone;
bool ComputePDBOutputDir(const std::string& kind, const std::string& config, bool ComputePDBOutputDir(const std::string& kind, const std::string& config,