diff options
author | Brad King <brad.king@kitware.com> | 2013-07-15 13:30:50 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-07-15 13:30:50 (GMT) |
commit | cbdea2cca9fbc7e04537f68720e7e291eaece3f7 (patch) | |
tree | 325194d27e5257eba55f4a67ed90214018b64598 | |
parent | 3b216d19f8dcd06f0e8e7aa54e5daa43e46ed20c (diff) | |
parent | 4a71168735b2e76abdd4d87578ec9587d7e9ebff (diff) | |
download | CMake-cbdea2cca9fbc7e04537f68720e7e291eaece3f7.zip CMake-cbdea2cca9fbc7e04537f68720e7e291eaece3f7.tar.gz CMake-cbdea2cca9fbc7e04537f68720e7e291eaece3f7.tar.bz2 |
Merge topic 'doc-project-top-level'
4a71168 project: Document top-level CMakeLists.txt requirement
-rw-r--r-- | Source/cmProjectCommand.h | 8 |
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); |