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