summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2008-03-04 14:16:33 (GMT)
committerKen Martin <ken.martin@kitware.com>2008-03-04 14:16:33 (GMT)
commitd47a5951edf48738db67dac22eef24de948965ec (patch)
treeaf6bc1dfefda26763e188227c276a811910ba9da /Source/cmPolicies.h
parentefb309fe2981f7030946b057544bc6c413c74744 (diff)
downloadCMake-d47a5951edf48738db67dac22eef24de948965ec.zip
CMake-d47a5951edf48738db67dac22eef24de948965ec.tar.gz
CMake-d47a5951edf48738db67dac22eef24de948965ec.tar.bz2
ENH: add --help-policies and --help-policy command line options
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index cf0b4bf..fc812d1 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -77,6 +77,9 @@ public:
///! return an error string for when a required policy is unspecified
std::string GetRequiredPolicyError(cmPolicies::PolicyID id);
+ ///! Get docs for policies
+ void GetDocumentation(std::vector<cmDocumentationEntry>& v);
+
private:
// might have to make these internal for VS6 not sure yet
std::map<PolicyID,cmPolicy *> Policies;