| 337 | } |
| 338 | |
| 339 | std::string cmNinjaTargetGenerator::ComputeIncludes( |
| 340 | cmSourceFile const* source, std::string const& language, |
| 341 | std::string const& config) |
| 342 | { |
| 343 | std::vector<std::string> includes; |
| 344 | cmGeneratorExpressionInterpreter genexInterpreter( |
| 345 | this->LocalGenerator, config, this->GeneratorTarget, language); |
| 346 | |
| 347 | std::string const INCLUDE_DIRECTORIES("INCLUDE_DIRECTORIES"); |
| 348 | if (cmValue cincludes = source->GetProperty(INCLUDE_DIRECTORIES)) { |
| 349 | this->LocalGenerator->AppendIncludeDirectories( |
| 350 | includes, genexInterpreter.Evaluate(*cincludes, INCLUDE_DIRECTORIES), |
| 351 | *source); |
| 352 | } |
| 353 | |
| 354 | std::string includesString = this->LocalGenerator->GetIncludeFlags( |
| 355 | includes, this->GeneratorTarget, language, config, false); |
| 356 | this->LocalGenerator->AppendFlags(includesString, |
| 357 | this->GetIncludes(language, config)); |
| 358 | |
| 359 | return includesString; |
| 360 | } |
| 361 | |
| 362 | cmNinjaDeps cmNinjaTargetGenerator::ComputeLinkDeps( |
| 363 | std::string const& linkLanguage, std::string const& config, |
no test coverage detected