cmGeneratorExpression: Re-write for multi-stage evaluation
The expressions may be parsed and then cached and evaluated multiple times. They are evaluated lazily so that literals such as ',' can be treated as universal parameter separators, and can be processed from results without appearing literally, and without interfering with the parsing/evaluation of the entire expression.
Showing
- Source/CMakeLists.txt 6 additions, 0 deletionsSource/CMakeLists.txt
- Source/cmGeneratorExpression.cxx 53 additions, 187 deletionsSource/cmGeneratorExpression.cxx
- Source/cmGeneratorExpression.h 14 additions, 7 deletionsSource/cmGeneratorExpression.h
- Source/cmGeneratorExpressionEvaluator.cxx 568 additions, 0 deletionsSource/cmGeneratorExpressionEvaluator.cxx
- Source/cmGeneratorExpressionEvaluator.h 118 additions, 0 deletionsSource/cmGeneratorExpressionEvaluator.h
- Source/cmGeneratorExpressionLexer.cxx 85 additions, 0 deletionsSource/cmGeneratorExpressionLexer.cxx
- Source/cmGeneratorExpressionLexer.h 58 additions, 0 deletionsSource/cmGeneratorExpressionLexer.h
- Source/cmGeneratorExpressionParser.cxx 235 additions, 0 deletionsSource/cmGeneratorExpressionParser.cxx
- Source/cmGeneratorExpressionParser.h 45 additions, 0 deletionsSource/cmGeneratorExpressionParser.h
- Tests/RunCMake/GeneratorExpression/BadAND-stderr.txt 29 additions, 2 deletionsTests/RunCMake/GeneratorExpression/BadAND-stderr.txt
- Tests/RunCMake/GeneratorExpression/BadAND.cmake 3 additions, 0 deletionsTests/RunCMake/GeneratorExpression/BadAND.cmake
- Tests/RunCMake/GeneratorExpression/BadCONFIG-stderr.txt 36 additions, 0 deletionsTests/RunCMake/GeneratorExpression/BadCONFIG-stderr.txt
- Tests/RunCMake/GeneratorExpression/BadCONFIG.cmake 4 additions, 0 deletionsTests/RunCMake/GeneratorExpression/BadCONFIG.cmake
- Tests/RunCMake/GeneratorExpression/BadNOT-stderr.txt 29 additions, 3 deletionsTests/RunCMake/GeneratorExpression/BadNOT-stderr.txt
- Tests/RunCMake/GeneratorExpression/BadNOT.cmake 3 additions, 0 deletionsTests/RunCMake/GeneratorExpression/BadNOT.cmake
- Tests/RunCMake/GeneratorExpression/BadOR-stderr.txt 29 additions, 2 deletionsTests/RunCMake/GeneratorExpression/BadOR-stderr.txt
- Tests/RunCMake/GeneratorExpression/BadOR.cmake 3 additions, 0 deletionsTests/RunCMake/GeneratorExpression/BadOR.cmake
- bootstrap 3 additions, 0 deletionsbootstrap
Source/cmGeneratorExpressionEvaluator.cxx
0 → 100644
Source/cmGeneratorExpressionEvaluator.h
0 → 100644
Source/cmGeneratorExpressionLexer.cxx
0 → 100644
Source/cmGeneratorExpressionLexer.h
0 → 100644
Source/cmGeneratorExpressionParser.cxx
0 → 100644
Source/cmGeneratorExpressionParser.h
0 → 100644
Please register or sign in to comment