diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-13 23:15:48 -0400 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-13 23:15:48 -0400 |
commit | 96a46bdb441226cdc89b1dd65cc65bf4ff771bac (patch) | |
tree | 0a399916d4707f65c4a69f7fbd2ebbd8736b9dbc /Source/cmDocumentation.h | |
parent | ac242e319bb4a7d6d31f83752687ceb3ea6890a8 (diff) | |
download | cmake-96a46bdb441226cdc89b1dd65cc65bf4ff771bac.tar.gz |
ENH: search for help modules in the correct place for install and source tree builds
Diffstat (limited to 'Source/cmDocumentation.h')
-rw-r--r-- | Source/cmDocumentation.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h index 735d09cf50..6ce777ec24 100644 --- a/Source/cmDocumentation.h +++ b/Source/cmDocumentation.h @@ -96,6 +96,9 @@ public: /** Clear all previously added sections of help. */ void ClearSections(); + + /** Set cmake root so we can find installed files */ + void SetCMakeRoot(const char* root) { this->CMakeRoot = root;} private: void PrintSection(std::ostream& os, const cmDocumentationEntry* section, @@ -161,7 +164,7 @@ private: std::string SeeAlsoString; std::string SingleCommand; std::string SingleModuleName; - + std::string CMakeRoot; std::vector< char* > ModuleStrings; std::vector< const char* > Names; std::vector< const cmDocumentationEntry* > Sections; |