summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-07-15 13:30:50 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-07-15 13:30:50 (GMT)
commitcbdea2cca9fbc7e04537f68720e7e291eaece3f7 (patch)
tree325194d27e5257eba55f4a67ed90214018b64598 /Source
parent3b216d19f8dcd06f0e8e7aa54e5daa43e46ed20c (diff)
parent4a71168735b2e76abdd4d87578ec9587d7e9ebff (diff)
downloadCMake-cbdea2cca9fbc7e04537f68720e7e291eaece3f7.zip
CMake-cbdea2cca9fbc7e04537f68720e7e291eaece3f7.tar.gz
CMake-cbdea2cca9fbc7e04537f68720e7e291eaece3f7.tar.bz2
Merge topic 'doc-project-top-level'
4a71168 project: Document top-level CMakeLists.txt requirement
Diffstat (limited to 'Source')
-rw-r--r--Source/cmProjectCommand.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/cmProjectCommand.h b/Source/cmProjectCommand.h
index a53cb3f..9547c4c 100644
--- a/Source/cmProjectCommand.h
+++ b/Source/cmProjectCommand.h
@@ -71,7 +71,13 @@ public:
"language \"NONE\" all checks for any language can be disabled. "
"If a variable exists called CMAKE_PROJECT_<projectName>_INCLUDE, "
"the file pointed to by that variable will be included as the last step "
- "of the project command.";
+ "of the project command."
+ "\n"
+ "The top-level CMakeLists.txt file for a project must contain a "
+ "literal, direct call to the project() command; loading one through "
+ "the include() command is not sufficient. "
+ "If no such call exists CMake will implicitly add one to the top that "
+ "enables the default languages (C and CXX).";
}
cmTypeMacro(cmProjectCommand, cmCommand);