mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 16:32:14 -06:00
Fix use of cmTypeMacro in new command classes
Both commit8a37ebec(Add the target_include_directories command, 2013-01-01) and commitfc61a7a7(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:
@@ -75,7 +75,7 @@ public:
|
||||
;
|
||||
}
|
||||
|
||||
cmTypeMacro(cmTargetCompileDefinitionsCommand, cmCommand);
|
||||
cmTypeMacro(cmTargetCompileDefinitionsCommand, cmTargetPropCommandBase);
|
||||
|
||||
private:
|
||||
virtual void HandleImportedTarget(const std::string &tgt);
|
||||
|
||||
@@ -79,7 +79,7 @@ public:
|
||||
;
|
||||
}
|
||||
|
||||
cmTypeMacro(cmTargetIncludeDirectoriesCommand, cmCommand);
|
||||
cmTypeMacro(cmTargetIncludeDirectoriesCommand, cmTargetPropCommandBase);
|
||||
|
||||
private:
|
||||
virtual void HandleImportedTarget(const std::string &tgt);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user