summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetPropCommandBase.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-01-29 16:20:45 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-01-29 16:20:45 (GMT)
commitb3a7e19ee479fda18b1dfe237fc4b78467c05fd7 (patch)
treec237c3245c4269c005a1ce8825a4d29ccddd7319 /Source/cmTargetPropCommandBase.h
parent61d641dccb216bd585430231e0851c6b6eab4343 (diff)
downloadCMake-b3a7e19ee479fda18b1dfe237fc4b78467c05fd7.zip
CMake-b3a7e19ee479fda18b1dfe237fc4b78467c05fd7.tar.gz
CMake-b3a7e19ee479fda18b1dfe237fc4b78467c05fd7.tar.bz2
Make the Property name protected so that subclasses can use it.
Makes subclasses more dry in upcoming patches.
Diffstat (limited to 'Source/cmTargetPropCommandBase.h')
-rw-r--r--Source/cmTargetPropCommandBase.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmTargetPropCommandBase.h b/Source/cmTargetPropCommandBase.h
index 15a78c9..0289c44 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