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.
This commit is contained in:
Brad King 2013-01-31 09:31:58 -05:00
parent da2b0245a3
commit 9397270d73
3 changed files with 3 additions and 2 deletions

View File

@ -75,7 +75,7 @@ public:
;
}
cmTypeMacro(cmTargetCompileDefinitionsCommand, cmCommand);
cmTypeMacro(cmTargetCompileDefinitionsCommand, cmTargetPropCommandBase);
private:
virtual void HandleImportedTarget(const std::string &tgt);

View File

@ -79,7 +79,7 @@ public:
;
}
cmTypeMacro(cmTargetIncludeDirectoriesCommand, cmCommand);
cmTypeMacro(cmTargetIncludeDirectoriesCommand, cmTargetPropCommandBase);
private:
virtual void HandleImportedTarget(const std::string &tgt);

View File

@ -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;