| 43 | } |
| 44 | |
| 45 | void 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 | |
| 60 | void cmExtraKateGenerator::CreateKateProjectFile( |
| 61 | cmLocalGenerator const& lg) const |
nothing calls this directly
no test coverage detected