summaryrefslogtreecommitdiffstats
path: root/Source/cmProjectCommand.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-04-02 20:43:23 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-04-02 20:43:23 (GMT)
commit4ea0f6b9494f2b4a4a5a238f8ad51ee6fbbcfe0a (patch)
treeb73c04c8bce53edbdf39e3e98ae6e2a361f47bef /Source/cmProjectCommand.h
parent81ebecaea17cc18dfdda4fc3051eba08f6f076a0 (diff)
downloadCMake-4ea0f6b9494f2b4a4a5a238f8ad51ee6fbbcfe0a.zip
CMake-4ea0f6b9494f2b4a4a5a238f8ad51ee6fbbcfe0a.tar.gz
CMake-4ea0f6b9494f2b4a4a5a238f8ad51ee6fbbcfe0a.tar.bz2
ENH: add enable language support for PROJECT command, this means that a C only project can be built with cmake, even without a cxx compiler
Diffstat (limited to 'Source/cmProjectCommand.h')
-rw-r--r--Source/cmProjectCommand.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmProjectCommand.h b/Source/cmProjectCommand.h
index 6fdb2e2..7dc7c1e 100644
--- a/Source/cmProjectCommand.h
+++ b/Source/cmProjectCommand.h
@@ -73,7 +73,12 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "PROJECT(projectname) Sets the name of the Microsoft workspace .dsw file. Does nothing on UNIX currently\n";
+ "PROJECT(projectname [C++ C Java])\n"
+ "Sets the name of the project. "
+ "This creates the variables projectname_BINARY_DIR and projectname_SOURCE_DIR. "
+ "Optionally you can specify which languages your project supports. "
+ "By default all languages are supported. If you do not have a C++ compiler, but want"
+ " to build a c program with cmake, then use this option.";
}
cmTypeMacro(cmProjectCommand, cmCommand);