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:
parent
da2b0245a3
commit
9397270d73
|
@ -75,7 +75,7 @@ public:
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
cmTypeMacro(cmTargetCompileDefinitionsCommand, cmCommand);
|
cmTypeMacro(cmTargetCompileDefinitionsCommand, cmTargetPropCommandBase);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
virtual void HandleImportedTarget(const std::string &tgt);
|
virtual void HandleImportedTarget(const std::string &tgt);
|
||||||
|
|
|
@ -79,7 +79,7 @@ public:
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
cmTypeMacro(cmTargetIncludeDirectoriesCommand, cmCommand);
|
cmTypeMacro(cmTargetIncludeDirectoriesCommand, cmTargetPropCommandBase);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
virtual void HandleImportedTarget(const std::string &tgt);
|
virtual void HandleImportedTarget(const std::string &tgt);
|
||||||
|
|
|
@ -31,6 +31,7 @@ public:
|
||||||
bool HandleArguments(std::vector<std::string> const& args,
|
bool HandleArguments(std::vector<std::string> const& args,
|
||||||
const char *prop, ArgumentFlags flags = NO_FLAGS);
|
const char *prop, ArgumentFlags flags = NO_FLAGS);
|
||||||
|
|
||||||
|
cmTypeMacro(cmTargetPropCommandBase, cmCommand);
|
||||||
protected:
|
protected:
|
||||||
std::string Property;
|
std::string Property;
|
||||||
cmTarget *Target;
|
cmTarget *Target;
|
||||||
|
|
Loading…
Reference in New Issue