mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Merge topic 'add-const-qualifiers'
737c49aAdd 'const' qualifier to some cmCommand members261491fcmPropertyDefinition::IsChained is const
This commit is contained in:
@@ -43,12 +43,12 @@ public:
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() {return "project";}
|
||||
virtual const char* GetName() const {return "project";}
|
||||
|
||||
/**
|
||||
* Succinct documentation.
|
||||
*/
|
||||
virtual const char* GetTerseDocumentation()
|
||||
virtual const char* GetTerseDocumentation() const
|
||||
{
|
||||
return "Set a name for the entire project.";
|
||||
}
|
||||
@@ -56,7 +56,7 @@ public:
|
||||
/**
|
||||
* More documentation.
|
||||
*/
|
||||
virtual const char* GetFullDocumentation()
|
||||
virtual const char* GetFullDocumentation() const
|
||||
{
|
||||
return
|
||||
" project(<projectname> [languageName1 languageName2 ... ] )\n"
|
||||
|
||||
Reference in New Issue
Block a user