summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-10-27 14:16:17 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-11-20 23:11:54 (GMT)
commitd8a59ea4b370eaf4a5b6162631af9e272fdb24b4 (patch)
tree6b3d14c622b89eaf615b9522752ca12881d7ea1c /Source/cmGeneratorTarget.cxx
parent8faf4e93801a025d4cb17d2ef12437e5554798b1 (diff)
downloadCMake-d8a59ea4b370eaf4a5b6162631af9e272fdb24b4.zip
CMake-d8a59ea4b370eaf4a5b6162631af9e272fdb24b4.tar.gz
CMake-d8a59ea4b370eaf4a5b6162631af9e272fdb24b4.tar.bz2
Port cmGeneratorExpression to cmTarget from cmGeneratorTarget.
Following from the discussion here: http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/3615/focus=5170 (Re: Generator expressisons in target properties, 26 Oct 12:10) we can't split cmTarget API for linking into cmGeneratorTarget. In the future we will probably also need to move the include and compile definitions API back to cmTarget so that it can be used by export().
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 19b55c6..a68abca 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -308,7 +308,7 @@ std::vector<std::string> cmGeneratorTarget::GetIncludeDirectories(
.Evaluate(this->Makefile,
config,
false,
- this,
+ this->Target,
&dagChecker),
includes);
@@ -356,6 +356,6 @@ std::string cmGeneratorTarget::GetCompileDefinitions(const char *config)
return ge.Parse(prop).Evaluate(this->Makefile,
config,
false,
- this,
+ this->Target,
&dagChecker);
}