Merge topic 'new-command-class-type-macros'

9397270 Fix use of cmTypeMacro in new command classes
This commit is contained in:
Brad King 2013-02-05 14:45:57 -05:00 committed by CMake Topic Stage
commit 4341fd2579
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;