summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-01-29 17:20:45 +0100
committerStephen Kelly <steveire@gmail.com>2013-01-29 17:20:45 +0100
commitb3a7e19ee479fda18b1dfe237fc4b78467c05fd7 (patch)
treec237c3245c4269c005a1ce8825a4d29ccddd7319
parent61d641dccb216bd585430231e0851c6b6eab4343 (diff)
downloadcmake-b3a7e19ee479fda18b1dfe237fc4b78467c05fd7.tar.gz
Make the Property name protected so that subclasses can use it.
Makes subclasses more dry in upcoming patches.
-rw-r--r--Source/cmTargetPropCommandBase.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmTargetPropCommandBase.h b/Source/cmTargetPropCommandBase.h
index 15a78c9a6d..0289c44261 100644
--- a/Source/cmTargetPropCommandBase.h
+++ b/Source/cmTargetPropCommandBase.h
@@ -31,6 +31,9 @@ public:
bool HandleArguments(std::vector<std::string> const& args,
const char *prop, ArgumentFlags flags = NO_FLAGS);
+protected:
+ std::string Property;
+
private:
virtual void HandleImportedTarget(const std::string &tgt) = 0;
virtual void HandleMissingTarget(const std::string &name) = 0;
@@ -51,7 +54,6 @@ private:
private:
cmTarget *Target;
- std::string Property;
};
#endif