| 118 | } |
| 119 | |
| 120 | cmCompiledGeneratorExpression::cmCompiledGeneratorExpression( |
| 121 | cmake& cmakeInstance, cmListFileBacktrace backtrace, std::string input) |
| 122 | : Backtrace(std::move(backtrace)) |
| 123 | , Input(std::move(input)) |
| 124 | { |
| 125 | #ifndef CMAKE_BOOTSTRAP |
| 126 | auto profilingRAII = |
| 127 | cmakeInstance.CreateProfilingEntry("genex_compile", this->Input); |
| 128 | #endif |
| 129 | |
| 130 | cmGeneratorExpressionLexer l; |
| 131 | std::vector<cmGeneratorExpressionToken> tokens = l.Tokenize(this->Input); |
| 132 | this->NeedsEvaluation = l.GetSawGeneratorExpression(); |
| 133 | |
| 134 | if (this->NeedsEvaluation) { |
| 135 | cmGeneratorExpressionParser p(tokens); |
| 136 | p.Parse(this->Evaluators); |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | std::string cmGeneratorExpression::StripEmptyListElements( |
| 141 | std::string const& input) |
nothing calls this directly
no test coverage detected