cmGlobalGenerator: Make CheckALLOW_DUPLICATE_CUSTOM_TARGETS const
This commit is contained in:
parent
8aeddf1f03
commit
b4ff38a5ef
|
@ -1076,7 +1076,7 @@ void cmGlobalGenerator::AddCMP0042WarnTarget(const std::string& target)
|
|||
this->CMP0042WarnTargets.insert(target);
|
||||
}
|
||||
|
||||
bool cmGlobalGenerator::CheckALLOW_DUPLICATE_CUSTOM_TARGETS()
|
||||
bool cmGlobalGenerator::CheckALLOW_DUPLICATE_CUSTOM_TARGETS() const
|
||||
{
|
||||
// If the property is not enabled then okay.
|
||||
if(!this->CMakeInstance
|
||||
|
|
|
@ -334,7 +334,7 @@ protected:
|
|||
|
||||
virtual bool ComputeTargetDepends();
|
||||
|
||||
virtual bool CheckALLOW_DUPLICATE_CUSTOM_TARGETS();
|
||||
virtual bool CheckALLOW_DUPLICATE_CUSTOM_TARGETS() const;
|
||||
|
||||
bool CheckTargets();
|
||||
typedef std::vector<std::pair<cmQtAutoGenerators,
|
||||
|
|
|
@ -304,7 +304,7 @@ protected:
|
|||
|
||||
/// Overloaded methods.
|
||||
/// @see cmGlobalGenerator::CheckALLOW_DUPLICATE_CUSTOM_TARGETS()
|
||||
virtual bool CheckALLOW_DUPLICATE_CUSTOM_TARGETS() { return true; }
|
||||
virtual bool CheckALLOW_DUPLICATE_CUSTOM_TARGETS() const { return true; }
|
||||
|
||||
|
||||
private:
|
||||
|
|
|
@ -161,7 +161,7 @@ protected:
|
|||
const char* GetRebuildCacheTargetName() const { return "rebuild_cache"; }
|
||||
const char* GetCleanTargetName() const { return "clean"; }
|
||||
|
||||
virtual bool CheckALLOW_DUPLICATE_CUSTOM_TARGETS() { return true; }
|
||||
virtual bool CheckALLOW_DUPLICATE_CUSTOM_TARGETS() const { return true; }
|
||||
|
||||
// Some make programs (Borland) do not keep a rule if there are no
|
||||
// dependencies or commands. This is a problem for creating rules
|
||||
|
|
Loading…
Reference in New Issue