mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 05:39:57 -05:00
cmGlobalGenerator: Constify IsExcluded use of cmLocalGenerator
This commit is contained in:
@@ -2407,8 +2407,8 @@ bool cmGlobalGenerator::IsExcluded(cmStateSnapshot const& rootSnp,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool cmGlobalGenerator::IsExcluded(cmLocalGenerator* root,
|
bool cmGlobalGenerator::IsExcluded(cmLocalGenerator const* root,
|
||||||
cmLocalGenerator* gen) const
|
cmLocalGenerator const* gen) const
|
||||||
{
|
{
|
||||||
assert(gen);
|
assert(gen);
|
||||||
|
|
||||||
@@ -2418,7 +2418,7 @@ bool cmGlobalGenerator::IsExcluded(cmLocalGenerator* root,
|
|||||||
return this->IsExcluded(rootSnp, snp);
|
return this->IsExcluded(rootSnp, snp);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool cmGlobalGenerator::IsExcluded(cmLocalGenerator* root,
|
bool cmGlobalGenerator::IsExcluded(cmLocalGenerator const* root,
|
||||||
cmGeneratorTarget const* target) const
|
cmGeneratorTarget const* target) const
|
||||||
{
|
{
|
||||||
if (!target->IsInBuildSystem()) {
|
if (!target->IsInBuildSystem()) {
|
||||||
|
|||||||
@@ -724,8 +724,9 @@ protected:
|
|||||||
void CheckTargetProperties();
|
void CheckTargetProperties();
|
||||||
bool IsExcluded(cmStateSnapshot const& root,
|
bool IsExcluded(cmStateSnapshot const& root,
|
||||||
cmStateSnapshot const& snp) const;
|
cmStateSnapshot const& snp) const;
|
||||||
bool IsExcluded(cmLocalGenerator* root, cmLocalGenerator* gen) const;
|
bool IsExcluded(cmLocalGenerator const* root,
|
||||||
bool IsExcluded(cmLocalGenerator* root,
|
cmLocalGenerator const* gen) const;
|
||||||
|
bool IsExcluded(cmLocalGenerator const* root,
|
||||||
cmGeneratorTarget const* target) const;
|
cmGeneratorTarget const* target) const;
|
||||||
virtual void InitializeProgressMarks() {}
|
virtual void InitializeProgressMarks() {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user