From b17729460ba66ec96ad0a79dd52c0557e81a895f Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 8 Jan 2014 11:14:06 -0500 Subject: 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. --- Source/cmDocumentation.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/cmDocumentation.h') diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h index 05c0442860..d5a7dd5ebd 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; -- cgit v1.2.1