1
0

cmGeneratorExpressionContext.cxx 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2012 Stephen Kelly <[email protected]>
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #include "cmGeneratorExpressionContext.h"
  11. #include "cmGeneratorTarget.h"
  12. cmGeneratorExpressionContext::cmGeneratorExpressionContext(
  13. cmLocalGenerator* lg, std::string const& config,
  14. bool quiet, cmGeneratorTarget const* headTarget,
  15. const cmGeneratorTarget* currentTarget,
  16. bool evaluateForBuildsystem,
  17. cmListFileBacktrace const& backtrace,
  18. std::string const& language)
  19. : Backtrace(backtrace),
  20. LG(lg),
  21. Config(config),
  22. Language(language),
  23. HeadTarget(headTarget),
  24. CurrentTarget(currentTarget),
  25. Quiet(quiet),
  26. HadError(false),
  27. HadContextSensitiveCondition(false),
  28. HadHeadSensitiveCondition(false),
  29. EvaluateForBuildsystem(evaluateForBuildsystem)
  30. {
  31. }