1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00
Files
CMake/Source/cmGenExEvaluation.cxx
Brad King e4708f007b GenEx: Factor out a dedicated evaluation Context structure
The context's local generator, configuration name, and language are
constant throughout evaluation.
2025-09-21 20:21:37 -04:00

28 lines
754 B
C++

/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file LICENSE.rst or https://cmake.org/licensing for details. */
#include "cmGenExEvaluation.h"
#include <utility>
#include "cmGenExContext.h"
namespace cm {
namespace GenEx {
Evaluation::Evaluation(GenEx::Context context, bool quiet,
cmGeneratorTarget const* headTarget,
cmGeneratorTarget const* currentTarget,
bool evaluateForBuildsystem,
cmListFileBacktrace backtrace)
: Context(std::move(context))
, Backtrace(std::move(backtrace))
, HeadTarget(headTarget)
, CurrentTarget(currentTarget)
, Quiet(quiet)
, EvaluateForBuildsystem(evaluateForBuildsystem)
{
}
}
}