MCPcopy Create free account
hub / github.com/Kitware/CMake / Preprocess

Method Preprocess

Source/cmGeneratorExpression.cxx:398–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396}
397
398std::string cmGeneratorExpression::Preprocess(cm::string_view input,
399 PreprocessContext context,
400 cm::string_view importPrefix)
401{
402 if (context == StripAllGeneratorExpressions) {
403 return stripAllGeneratorExpressions(input);
404 }
405 if (context == BuildInterface || context == InstallInterface) {
406 return stripExportInterface(input, context, importPrefix);
407 }
408
409 assert(false &&
410 "cmGeneratorExpression::Preprocess called with invalid args");
411 return std::string();
412}
413
414std::string cmGeneratorExpression::Collect(
415 std::string const& input,

Callers

nothing calls this directly

Calls 2

stripExportInterfaceFunction · 0.85

Tested by

no test coverage detected