diff options
author | Ken Martin <ken.martin@kitware.com> | 2008-04-01 18:22:09 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2008-04-01 18:22:09 (GMT) |
commit | 16f1cc9b59c59dcd763ea9d2b65548fa5f7b4fa1 (patch) | |
tree | 0926d56a73423ec3f875a88d5b72015597fa81e6 /Source/cmGetPropertyCommand.h | |
parent | d00476610d830a0db96da26d6c87e33d36860120 (diff) | |
download | CMake-16f1cc9b59c59dcd763ea9d2b65548fa5f7b4fa1.zip CMake-16f1cc9b59c59dcd763ea9d2b65548fa5f7b4fa1.tar.gz CMake-16f1cc9b59c59dcd763ea9d2b65548fa5f7b4fa1.tar.bz2 |
ENH: support unset of properties
Diffstat (limited to 'Source/cmGetPropertyCommand.h')
-rw-r--r-- | Source/cmGetPropertyCommand.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/cmGetPropertyCommand.h b/Source/cmGetPropertyCommand.h index 0df2371..d7503ba 100644 --- a/Source/cmGetPropertyCommand.h +++ b/Source/cmGetPropertyCommand.h @@ -68,7 +68,7 @@ public: " TEST <test> |\n" " VARIABLE>\n" " PROPERTY <name>\n" - " [DEFINED | BRIEF_DOCS | FULL_DOCS])\n" + " [SET | DEFINED | BRIEF_DOCS | FULL_DOCS])\n" "Get one property from one object in a scope. " "The first argument specifies the variable in which to store the " "result. " @@ -85,8 +85,11 @@ public: "The required PROPERTY option is immediately followed by the name " "of the property to get. " "If the property is not set an empty value is returned. " + "If the SET option is given the variable is set to a boolean " + "value indicating whether the property has been set." "If the DEFINED option is given the variable is set to a boolean " - "value indicating whether the property has been set. " + "value indicating whether the property has been defined " + "such as with define_property. " "If BRIEF_DOCS or FULL_DOCS is given then the variable is set to " "a string containing documentation for the requested property. " "If documentation is requested for a property that has not been " @@ -95,7 +98,7 @@ public: cmTypeMacro(cmGetPropertyCommand, cmCommand); private: - enum OutType { OutValue, OutDefined, OutBriefDoc, OutFullDoc }; + enum OutType { OutValue, OutDefined, OutBriefDoc, OutFullDoc, OutSet }; std::string Variable; std::string Name; std::string PropertyName; |