summaryrefslogtreecommitdiffstats
path: root/Source/cmProjectCommand.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-02-15 18:30:13 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-02-15 18:30:13 (GMT)
commitfce56c57c497ede3a7afcbc7965846cc8bad9db2 (patch)
tree0fb37474ade8ff1ec1ed40e30e3e02074baa5b42 /Source/cmProjectCommand.h
parent252b0d89572b5cadb3ba3b9f5db6dfa35f60beba (diff)
downloadCMake-fce56c57c497ede3a7afcbc7965846cc8bad9db2.zip
CMake-fce56c57c497ede3a7afcbc7965846cc8bad9db2.tar.gz
CMake-fce56c57c497ede3a7afcbc7965846cc8bad9db2.tar.bz2
some cleanup and fixes
Diffstat (limited to 'Source/cmProjectCommand.h')
-rw-r--r--Source/cmProjectCommand.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/Source/cmProjectCommand.h b/Source/cmProjectCommand.h
index 3a705e8..fe395b0 100644
--- a/Source/cmProjectCommand.h
+++ b/Source/cmProjectCommand.h
@@ -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
{
@@ -49,6 +50,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.
*/
virtual const char* GetTerseDocumentation()
@@ -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";
}
};