diff options
author | Brad King <brad.king@kitware.com> | 2013-02-05 19:45:57 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-02-05 19:45:57 (GMT) |
commit | 4341fd2579d78e72eea8bd9b87a21fa660d69a35 (patch) | |
tree | 9a78da4a8e7b139ec78b20ab0fd92b6a9da39b82 /Source | |
parent | 252209fb0bce4adba20f1aa3971437d336e5d2b0 (diff) | |
parent | 9397270d73dc239cde41ddaa9a3f05a75a2cd873 (diff) | |
download | CMake-4341fd2579d78e72eea8bd9b87a21fa660d69a35.zip CMake-4341fd2579d78e72eea8bd9b87a21fa660d69a35.tar.gz CMake-4341fd2579d78e72eea8bd9b87a21fa660d69a35.tar.bz2 |
Merge topic 'new-command-class-type-macros'
9397270 Fix use of cmTypeMacro in new command classes
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmTargetCompileDefinitionsCommand.h | 2 | ||||
-rw-r--r-- | Source/cmTargetIncludeDirectoriesCommand.h | 2 | ||||
-rw-r--r-- | Source/cmTargetPropCommandBase.h | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmTargetCompileDefinitionsCommand.h b/Source/cmTargetCompileDefinitionsCommand.h index 3b43820..c93cacb 100644 --- a/Source/cmTargetCompileDefinitionsCommand.h +++ b/Source/cmTargetCompileDefinitionsCommand.h @@ -75,7 +75,7 @@ public: ; } - cmTypeMacro(cmTargetCompileDefinitionsCommand, cmCommand); + cmTypeMacro(cmTargetCompileDefinitionsCommand, cmTargetPropCommandBase); private: virtual void HandleImportedTarget(const std::string &tgt); diff --git a/Source/cmTargetIncludeDirectoriesCommand.h b/Source/cmTargetIncludeDirectoriesCommand.h index d02cb4a..2bc7bef 100644 --- a/Source/cmTargetIncludeDirectoriesCommand.h +++ b/Source/cmTargetIncludeDirectoriesCommand.h @@ -79,7 +79,7 @@ public: ; } - cmTypeMacro(cmTargetIncludeDirectoriesCommand, cmCommand); + cmTypeMacro(cmTargetIncludeDirectoriesCommand, cmTargetPropCommandBase); private: virtual void HandleImportedTarget(const std::string &tgt); diff --git a/Source/cmTargetPropCommandBase.h b/Source/cmTargetPropCommandBase.h index a5b4ff8..8047a48 100644 --- a/Source/cmTargetPropCommandBase.h +++ b/Source/cmTargetPropCommandBase.h @@ -31,6 +31,7 @@ public: bool HandleArguments(std::vector<std::string> const& args, const char *prop, ArgumentFlags flags = NO_FLAGS); + cmTypeMacro(cmTargetPropCommandBase, cmCommand); protected: std::string Property; cmTarget *Target; |