mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-27 09:29:15 -05:00
cmGeneratorTarget: Better name for internal variable
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user