summaryrefslogtreecommitdiffstats
path: root/Source/cmFindBase.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-03-02 18:30:22 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-03-02 18:30:22 (GMT)
commita5825cd11af3a6def49c9528e77f4394babff7de (patch)
treecf8f0ed84fc150bd0befa0b00937deb0cb1cec0a /Source/cmFindBase.h
parent2f78d874a75e8032b90997df3449040c941b1b5b (diff)
downloadCMake-a5825cd11af3a6def49c9528e77f4394babff7de.zip
CMake-a5825cd11af3a6def49c9528e77f4394babff7de.tar.gz
CMake-a5825cd11af3a6def49c9528e77f4394babff7de.tar.bz2
ENH: check in new find stuff
Diffstat (limited to 'Source/cmFindBase.h')
-rw-r--r--Source/cmFindBase.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmFindBase.h b/Source/cmFindBase.h
index b055b4f..31742dd 100644
--- a/Source/cmFindBase.h
+++ b/Source/cmFindBase.h
@@ -35,6 +35,10 @@ public:
*/
virtual bool ParseArguments(std::vector<std::string> const& args);
cmTypeMacro(cmFindBase, cmCommand);
+
+ virtual const char* GetFullDocumentation()
+ {return this->GenericDocumentation.c_str();}
+
protected:
void PrintFindStuff();
void ExpandPaths(std::vector<std::string> userPaths);
@@ -48,6 +52,7 @@ protected:
// if it has documentation in the cache
bool CheckForVariableInCache();
+ cmStdString GenericDocumentation;
// use by command during find
cmStdString VariableDocumentation;
cmStdString VariableName;