STYLE: remove some commented code
Alex
This commit is contained in:
parent
235cb0216f
commit
4d5ea6ddff
@ -93,14 +93,12 @@ void cmExtraCodeBlocksGenerator::Generate()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* create the project file, if it already exists, merge it with the
|
/* create the project file */
|
||||||
existing one, otherwise create a new one */
|
|
||||||
void cmExtraCodeBlocksGenerator::CreateProjectFile(
|
void cmExtraCodeBlocksGenerator::CreateProjectFile(
|
||||||
const std::vector<cmLocalGenerator*>& lgs)
|
const std::vector<cmLocalGenerator*>& lgs)
|
||||||
{
|
{
|
||||||
const cmMakefile* mf=lgs[0]->GetMakefile();
|
const cmMakefile* mf=lgs[0]->GetMakefile();
|
||||||
std::string outputDir=mf->GetStartOutputDirectory();
|
std::string outputDir=mf->GetStartOutputDirectory();
|
||||||
std::string projectDir=mf->GetHomeDirectory();
|
|
||||||
std::string projectName=mf->GetProjectName();
|
std::string projectName=mf->GetProjectName();
|
||||||
|
|
||||||
std::string filename=outputDir+"/";
|
std::string filename=outputDir+"/";
|
||||||
@ -108,16 +106,7 @@ void cmExtraCodeBlocksGenerator::CreateProjectFile(
|
|||||||
std::string sessionFilename=outputDir+"/";
|
std::string sessionFilename=outputDir+"/";
|
||||||
sessionFilename+=projectName+".layout";
|
sessionFilename+=projectName+".layout";
|
||||||
|
|
||||||
/* if (cmSystemTools::FileExists(filename.c_str()))
|
this->CreateNewProjectFile(lgs, filename);
|
||||||
{
|
|
||||||
this->MergeProjectFiles(outputDir, projectDir, filename,
|
|
||||||
cmakeFilePattern, sessionFilename);
|
|
||||||
}
|
|
||||||
else */
|
|
||||||
{
|
|
||||||
this->CreateNewProjectFile(lgs, filename);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user