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

Method GetOrCreateGeneratedSource

Source/cmMakefile.cxx:3119–3126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3117}
3118
3119cmSourceFile* cmMakefile::GetOrCreateGeneratedSource(
3120 std::string const& sourceName)
3121{
3122 cmSourceFile* sf =
3123 this->GetOrCreateSource(sourceName, true, cmSourceFileLocationKind::Known);
3124 sf->MarkAsGenerated(); // In case we did not create the source file.
3125 return sf;
3126}
3127
3128void cmMakefile::CreateGeneratedOutputs(
3129 std::vector<std::string> const& outputs)

Callers 9

CreateGeneratedSourceFunction · 0.80
CreateUtilityOutputMethod · 0.80
FixGlobalTargetsMethod · 0.80
cmGeneratorTargetMethod · 0.80
CreateUtilityOutputMethod · 0.80
CreateOutputFileMethod · 0.80

Calls 2

GetOrCreateSourceMethod · 0.95
MarkAsGeneratedMethod · 0.80

Tested by

no test coverage detected