diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-02-22 20:41:06 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-03-10 23:12:56 (GMT) |
commit | ec428fafcf9f50c54b163dd16f68063cc387f779 (patch) | |
tree | e489512690971e71aacbaf2edc506802eeab1b33 /Source/cmGeneratorExpressionContext.cxx | |
parent | 082b6a9d78c6198dc7a9891615930c40a5c3b967 (diff) | |
download | CMake-ec428fafcf9f50c54b163dd16f68063cc387f779.zip CMake-ec428fafcf9f50c54b163dd16f68063cc387f779.tar.gz CMake-ec428fafcf9f50c54b163dd16f68063cc387f779.tar.bz2 |
Genex: Extend cmGeneratorExpressionContext constructor.
Initialize the members in the appropriate place.
Diffstat (limited to 'Source/cmGeneratorExpressionContext.cxx')
-rw-r--r-- | Source/cmGeneratorExpressionContext.cxx | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/Source/cmGeneratorExpressionContext.cxx b/Source/cmGeneratorExpressionContext.cxx index 4ed8ff2..947015e 100644 --- a/Source/cmGeneratorExpressionContext.cxx +++ b/Source/cmGeneratorExpressionContext.cxx @@ -12,7 +12,23 @@ #include "cmGeneratorExpressionContext.h" -cmGeneratorExpressionContext::cmGeneratorExpressionContext(); - : Backtrace(NULL) +cmGeneratorExpressionContext::cmGeneratorExpressionContext( + cmMakefile* mf, std::string const& config, + bool quiet, cmTarget const* headTarget, + cmTarget const* currentTarget, + bool evaluateForBuildsystem, + cmListFileBacktrace const& backtrace, + std::string const& language) + : Backtrace(backtrace), + Makefile(mf), + Config(config), + Language(language), + HeadTarget(headTarget), + CurrentTarget(currentTarget), + Quiet(quiet), + HadError(false), + HadContextSensitiveCondition(false), + HadHeadSensitiveCondition(false), + EvaluateForBuildsystem(evaluateForBuildsystem) { } |