summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraKateGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-06 22:29:25 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-08 22:00:18 (GMT)
commit4ab2750c54adb09d147839687858aabe3cd988a7 (patch)
tree5e65bb636efca9bd1ca447d270882d6894b454b9 /Source/cmExtraKateGenerator.cxx
parentc8187f414bcc4668940c2e0fe40d361389efdbe5 (diff)
downloadCMake-4ab2750c54adb09d147839687858aabe3cd988a7.zip
CMake-4ab2750c54adb09d147839687858aabe3cd988a7.tar.gz
CMake-4ab2750c54adb09d147839687858aabe3cd988a7.tar.bz2
cmLocalGenerator: Add GetProjectName method.
Diffstat (limited to 'Source/cmExtraKateGenerator.cxx')
-rw-r--r--Source/cmExtraKateGenerator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmExtraKateGenerator.cxx b/Source/cmExtraKateGenerator.cxx
index f83b5cf..126e3e1 100644
--- a/Source/cmExtraKateGenerator.cxx
+++ b/Source/cmExtraKateGenerator.cxx
@@ -46,9 +46,9 @@ cmExtraKateGenerator::cmExtraKateGenerator()
void cmExtraKateGenerator::Generate()
{
- const cmMakefile* mf
- = this->GlobalGenerator->GetLocalGenerators()[0]->GetMakefile();
- this->ProjectName = this->GenerateProjectName(mf->GetProjectName(),
+ cmLocalGenerator* lg = this->GlobalGenerator->GetLocalGenerators()[0];
+ const cmMakefile* mf = lg->GetMakefile();
+ this->ProjectName = this->GenerateProjectName(lg->GetProjectName(),
mf->GetSafeDefinition("CMAKE_BUILD_TYPE"),
this->GetPathBasename(mf->GetHomeOutputDirectory()));
this->UseNinja = (this->GlobalGenerator->GetName() == "Ninja");