mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 22:30:07 -05:00
some cleanup and fixes
This commit is contained in:
@@ -24,7 +24,8 @@
|
||||
*
|
||||
* cmProjectCommand is used to specify a name for this build project.
|
||||
* It is defined once per set of CMakeList.txt files (including
|
||||
* all subdirectories).
|
||||
* all subdirectories). Currently it just sets the name of the workspace
|
||||
* file for Microsoft Visual C++
|
||||
*/
|
||||
class cmProjectCommand : public cmCommand
|
||||
{
|
||||
@@ -48,6 +49,15 @@ public:
|
||||
*/
|
||||
virtual const char* GetName() {return "PROJECT";}
|
||||
|
||||
/**
|
||||
* This determines if the command gets propagated down
|
||||
* to makefiles located in subdirectories.
|
||||
*/
|
||||
virtual bool IsInherited()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Succinct documentation.
|
||||
*/
|
||||
@@ -62,7 +72,7 @@ public:
|
||||
virtual const char* GetFullDocumentation()
|
||||
{
|
||||
return
|
||||
"PROJECT(projectname)\n";
|
||||
"PROJECT(projectname) Sets the name of the Microsoft workspace .dsw file. Does nothing on UNIX currently\n";
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user