diff options
author | Brad King <brad.king@kitware.com> | 2013-01-31 14:31:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-01-31 16:08:40 (GMT) |
commit | 9397270d73dc239cde41ddaa9a3f05a75a2cd873 (patch) | |
tree | 8db467d708a50e3477a48ff50804df259572d91d /Source | |
parent | da2b0245a380282892be8007f4c3d184a91bcfe0 (diff) | |
download | CMake-9397270d73dc239cde41ddaa9a3f05a75a2cd873.zip CMake-9397270d73dc239cde41ddaa9a3f05a75a2cd873.tar.gz CMake-9397270d73dc239cde41ddaa9a3f05a75a2cd873.tar.bz2 |
Fix use of cmTypeMacro in new command classes
Both commit 8a37ebec (Add the target_include_directories command,
2013-01-01) and commit fc61a7a7 (Add the target_compile_definitions
command, 2013-01-08) added command implementations deriving from the new
cmTargetPropCommandBase class. Fix cmTypeMacro declarations of the
inheritance relationship.
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; |