summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionContext.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-10-14 17:35:59 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-10-14 17:35:59 (GMT)
commitad3ff60f4a026d94fba7530325278ecd93a7357d (patch)
tree674071e46c0cb77a9c1ee1965d28544001d7d456 /Source/cmGeneratorExpressionContext.cxx
parentff6ae3ecfc2ab421dccb9e50d78162e0b1c389ba (diff)
parent2293d43d00ddcff86c70f0b06014223f3b01e36c (diff)
downloadCMake-ad3ff60f4a026d94fba7530325278ecd93a7357d.zip
CMake-ad3ff60f4a026d94fba7530325278ecd93a7357d.tar.gz
CMake-ad3ff60f4a026d94fba7530325278ecd93a7357d.tar.bz2
Merge topic 'genex-generator-objects'
2293d43d cmLocalGenerator: Store cmGeneratorTargets. 488723f5 cmMakefile: Store container of cmExportBuildFileGenerators. 15834405 cmGeneratorExpression: Port interface to cmGeneratorTarget. 11165525 cmGeneratorExpression: Port to cmLocalGenerator.
Diffstat (limited to 'Source/cmGeneratorExpressionContext.cxx')
-rw-r--r--Source/cmGeneratorExpressionContext.cxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/Source/cmGeneratorExpressionContext.cxx b/Source/cmGeneratorExpressionContext.cxx
index 947015e..4daf4e9 100644
--- a/Source/cmGeneratorExpressionContext.cxx
+++ b/Source/cmGeneratorExpressionContext.cxx
@@ -11,20 +11,21 @@
============================================================================*/
#include "cmGeneratorExpressionContext.h"
+#include "cmGeneratorTarget.h"
cmGeneratorExpressionContext::cmGeneratorExpressionContext(
- cmMakefile* mf, std::string const& config,
- bool quiet, cmTarget const* headTarget,
- cmTarget const* currentTarget,
+ cmLocalGenerator* lg, std::string const& config,
+ bool quiet, cmGeneratorTarget const* headTarget,
+ const cmGeneratorTarget* currentTarget,
bool evaluateForBuildsystem,
cmListFileBacktrace const& backtrace,
std::string const& language)
: Backtrace(backtrace),
- Makefile(mf),
+ LG(lg),
Config(config),
Language(language),
- HeadTarget(headTarget),
- CurrentTarget(currentTarget),
+ HeadTarget(headTarget ? headTarget->Target : 0),
+ CurrentTarget(currentTarget ? currentTarget->Target : 0),
Quiet(quiet),
HadError(false),
HadContextSensitiveCondition(false),