diff options
author | Brad King <brad.king@kitware.com> | 2014-01-08 16:14:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-01-08 16:16:48 (GMT) |
commit | b17729460ba66ec96ad0a79dd52c0557e81a895f (patch) | |
tree | 8eedfabe561bca4b7013fef18fd8920c8997c945 /Source/cmDocumentation.h | |
parent | beb9cfae1798ef3e25be8d1cec7ce9ae33abec7b (diff) | |
download | CMake-b17729460ba66ec96ad0a79dd52c0557e81a895f.zip CMake-b17729460ba66ec96ad0a79dd52c0557e81a895f.tar.gz CMake-b17729460ba66ec96ad0a79dd52c0557e81a895f.tar.bz2 |
cmake: Implement placeholder --help-custom-modules compatibility
The implementation of the "cmake --help-custom-modules" was removed
along with the rest of the old help generation infrastructure when
documentation was converted to reStructuredText. In order to avoid
breaking existing project builds outright when they use a custom command
that runs a command like "cmake --help-custom-modules foo.1", generate
the requested file with placeholder content explaining that the option
is not supported anymore.
Diffstat (limited to 'Source/cmDocumentation.h')
-rw-r--r-- | Source/cmDocumentation.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h index 05c0442..d5a7dd5 100644 --- a/Source/cmDocumentation.h +++ b/Source/cmDocumentation.h @@ -115,6 +115,7 @@ private: bool PrintHelpListVariables(std::ostream& os); bool PrintHelpListPolicies(std::ostream& os); bool PrintDocumentationUsage(std::ostream& os); + bool PrintOldCustomModules(std::ostream& os); const char* GetNameString() const; bool IsOption(const char* arg) const; |