diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-01-29 16:23:31 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-01-29 18:34:04 (GMT) |
commit | 7bf490e9bb6128082aa178f28691b3fc418322fe (patch) | |
tree | a8f701d2db9a3960cceb1596705906c19ba42df4 /Source/cmTargetCompileDefinitionsCommand.h | |
parent | f6b16d4b0642d26111cddff714b464e22b715482 (diff) | |
download | CMake-7bf490e9bb6128082aa178f28691b3fc418322fe.zip CMake-7bf490e9bb6128082aa178f28691b3fc418322fe.tar.gz CMake-7bf490e9bb6128082aa178f28691b3fc418322fe.tar.bz2 |
Make subclasses responsible for joining content.
This way we can add handling of relative/absolute paths and of
-D in compile definitions.
Diffstat (limited to 'Source/cmTargetCompileDefinitionsCommand.h')
-rw-r--r-- | Source/cmTargetCompileDefinitionsCommand.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmTargetCompileDefinitionsCommand.h b/Source/cmTargetCompileDefinitionsCommand.h index 6e8fc84..3b43820 100644 --- a/Source/cmTargetCompileDefinitionsCommand.h +++ b/Source/cmTargetCompileDefinitionsCommand.h @@ -81,8 +81,10 @@ private: virtual void HandleImportedTarget(const std::string &tgt); virtual void HandleMissingTarget(const std::string &name); - virtual void HandleDirectContent(cmTarget *tgt, const std::string &content, + virtual void HandleDirectContent(cmTarget *tgt, + const std::vector<std::string> &content, bool prepend); + virtual std::string Join(const std::vector<std::string> &content); }; #endif |