Merge topic 'FixCrashInEclipseGenerator'
d18c8d6 Fix crash in Eclipse generator with empty project (#11616)
This commit is contained in:
commit
726861ce69
@ -201,7 +201,7 @@ void cmExtraEclipseCDT4Generator::CreateProjectFile()
|
|||||||
"<projectDescription>\n"
|
"<projectDescription>\n"
|
||||||
"\t<name>" <<
|
"\t<name>" <<
|
||||||
this->GenerateProjectName(mf->GetProjectName(),
|
this->GenerateProjectName(mf->GetProjectName(),
|
||||||
mf->GetDefinition("CMAKE_BUILD_TYPE"),
|
mf->GetSafeDefinition("CMAKE_BUILD_TYPE"),
|
||||||
this->GetPathBasename(this->HomeOutputDirectory))
|
this->GetPathBasename(this->HomeOutputDirectory))
|
||||||
<< "</name>\n"
|
<< "</name>\n"
|
||||||
"\t<comment></comment>\n"
|
"\t<comment></comment>\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user