summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeniz Bahadir <dbahadir@benocs.com>2020-09-22 12:00:03 (GMT)
committerDeniz Bahadir <dbahadir@benocs.com>2020-09-22 12:00:03 (GMT)
commitd575ecc9dedd214ebd941913b81124a674be5008 (patch)
tree1d91aeaa2122e6740af8477cc3aa87bd636a2ca7
parent2c896c381ba1031b888b6896b89cf13ae5948889 (diff)
downloadCMake-d575ecc9dedd214ebd941913b81124a674be5008.zip
CMake-d575ecc9dedd214ebd941913b81124a674be5008.tar.gz
CMake-d575ecc9dedd214ebd941913b81124a674be5008.tar.bz2
cmGeneratorTarget: Better name for internal variable
-rw-r--r--Source/cmGeneratorTarget.cxx8
-rw-r--r--Source/cmGeneratorTarget.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index c0f2495..d9b2f66 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -276,7 +276,7 @@ cmGeneratorTarget::cmGeneratorTarget(cmTarget* t, cmLocalGenerator* lg)
, DebugLinkDirectoriesDone(false)
, DebugPrecompileHeadersDone(false)
, DebugSourcesDone(false)
- , LinkImplementationLanguageIsContextDependent(true)
+ , SourcesAreContextDependent(true)
, UtilityItemsDone(false)
{
this->Makefile = this->Target->GetMakefile();
@@ -692,7 +692,7 @@ void cmGeneratorTarget::ClearSourcesCache()
{
this->AllConfigSources.clear();
this->KindedSourcesMap.clear();
- this->LinkImplementationLanguageIsContextDependent = true;
+ this->SourcesAreContextDependent = true;
this->Objects.clear();
this->VisitedConfigsForObjects.clear();
}
@@ -1656,7 +1656,7 @@ std::vector<BT<std::string>> cmGeneratorTarget::GetSourceFilePaths(
if (!contextDependentDirectSources &&
!(contextDependentInterfaceSources && numFilesBefore < files.size()) &&
!(contextDependentObjects && numFilesBefore2 < files.size())) {
- this->LinkImplementationLanguageIsContextDependent = false;
+ this->SourcesAreContextDependent = false;
}
return files;
@@ -1733,7 +1733,7 @@ cmGeneratorTarget::KindedSources const& cmGeneratorTarget::GetKindedSources(
{
// If we already processed one configuration and found no dependenc
// on configuration then always use the one result.
- if (!this->LinkImplementationLanguageIsContextDependent) {
+ if (!this->SourcesAreContextDependent) {
return this->KindedSourcesMap.begin()->second;
}
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index 330d784..4741b2a 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -1069,7 +1069,7 @@ private:
mutable bool DebugLinkDirectoriesDone;
mutable bool DebugPrecompileHeadersDone;
mutable bool DebugSourcesDone;
- mutable bool LinkImplementationLanguageIsContextDependent;
+ mutable bool SourcesAreContextDependent;
mutable bool UtilityItemsDone;
bool ComputePDBOutputDir(const std::string& kind, const std::string& config,