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

Method AddSourceCommon

Source/cmGeneratorTarget.cxx:564–572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562}
563
564void cmGeneratorTarget::AddSourceCommon(std::string const& src, bool before)
565{
566 this->SourceEntries.insert(
567 before ? this->SourceEntries.begin() : this->SourceEntries.end(),
568 TargetPropertyEntry::Create(
569 *this->LocalGenerator->GetCMakeInstance(),
570 BT<std::string>(src, this->Makefile->GetBacktrace()), true));
571 this->ClearSourcesCache();
572}
573
574cmSourceFile* cmGeneratorTarget::AddSource(std::string const& src, bool before)
575{

Callers 2

AddSourceMethod · 0.95
AddTracedSourcesMethod · 0.95

Calls 6

ClearSourcesCacheMethod · 0.95
insertMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
GetCMakeInstanceMethod · 0.45
GetBacktraceMethod · 0.45

Tested by

no test coverage detected