mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
cmGeneratorExpressionEvaluator: Short-circuit boolean operators
This commit is contained in:
@@ -33,6 +33,12 @@ struct cmGeneratorExpressionNode
|
||||
|
||||
virtual int NumExpectedParameters() const { return 1; }
|
||||
|
||||
virtual bool ShouldEvaluateNextParameter(const std::vector<std::string>&,
|
||||
std::string&) const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual std::string Evaluate(
|
||||
const std::vector<std::string>& parameters,
|
||||
cmGeneratorExpressionContext* context,
|
||||
|
||||
Reference in New Issue
Block a user