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

Method AddIncludeDirectory

Source/cmGeneratorTarget.cxx:589–600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

587}
588
589void cmGeneratorTarget::AddIncludeDirectory(std::string const& src,
590 bool before)
591{
592 this->Target->InsertInclude(
593 BT<std::string>(src, this->Makefile->GetBacktrace()), before);
594 this->IncludeDirectoriesEntries.insert(
595 before ? this->IncludeDirectoriesEntries.begin()
596 : this->IncludeDirectoriesEntries.end(),
597 TargetPropertyEntry::Create(
598 *this->Makefile->GetCMakeInstance(),
599 BT<std::string>(src, this->Makefile->GetBacktrace()), true));
600}
601
602void cmGeneratorTarget::AddSystemIncludeDirectory(std::string const& inc,
603 std::string const& lang)

Callers 1

InitCustomTargetsMethod · 0.80

Calls 6

InsertIncludeMethod · 0.80
GetBacktraceMethod · 0.45
insertMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
GetCMakeInstanceMethod · 0.45

Tested by

no test coverage detected