[Cmake-commits] [cmake-commits] alex committed cmProjectCommand.h 1.16 1.17
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Mar 12 18:43:20 EDT 2009
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv26743
Modified Files:
cmProjectCommand.h
Log Message:
STYLE: document NONE for disabling any languages, slightly change wording of
the rest of the documentation, so it is more similar to ENABLE_LANGUAGE() (#8718)
Alex
Index: cmProjectCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmProjectCommand.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -C 2 -d -r1.16 -r1.17
*** cmProjectCommand.h 23 Jan 2008 15:27:59 -0000 1.16
--- cmProjectCommand.h 12 Mar 2009 22:43:17 -0000 1.17
***************
*** 65,76 ****
{
return
! " project(projectname [CXX] [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.";
}
--- 65,78 ----
{
return
! " project(<projectname> [languageName1 languageName2 ... ] )\n"
"Sets the name of the project. "
! "Additionally this sets the variables <projectName>_BINARY_DIR and "
! "<projectName>_SOURCE_DIR to the respective values.\n"
"Optionally you can specify which languages your project supports. "
! "Example languages are CXX (i.e. C++), C, Fortran, etc. "
! "By default C and CXX are enabled. E.g. if you do not have a "
! "C++ compiler, you can disable the check for it by explicitely listing "
! "the languages you want to support, e.g. C. By using the special "
! "language \"NONE\" all checks for any language can be disabled.";
}
More information about the Cmake-commits
mailing list