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

Method Generate

Source/cmExtraKateGenerator.cxx:45–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void cmExtraKateGenerator::Generate()
46{
47 auto const& lg = this->GlobalGenerator->GetLocalGenerators()[0];
48 cmMakefile const* mf = lg->GetMakefile();
49 this->ProjectName = this->GenerateProjectName(
50 lg->GetProjectName(), mf->GetSafeDefinition("CMAKE_BUILD_TYPE"),
51 this->GetPathBasename(lg->GetBinaryDirectory()));
52 this->UseNinja =
53 ((this->GlobalGenerator->GetName() == "Ninja") ||
54 (this->GlobalGenerator->GetName() == "Ninja Multi-Config"));
55
56 this->CreateKateProjectFile(*lg);
57 this->CreateDummyKateProjectFile(*lg);
58}
59
60void cmExtraKateGenerator::CreateKateProjectFile(
61 cmLocalGenerator const& lg) const

Callers

nothing calls this directly

Calls 7

GenerateProjectNameMethod · 0.95
GetPathBasenameMethod · 0.95
CreateKateProjectFileMethod · 0.95
GetMakefileMethod · 0.45
GetProjectNameMethod · 0.45
GetNameMethod · 0.45

Tested by

no test coverage detected