summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraCodeBlocksGenerator.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-08-16 20:48:42 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2008-08-16 20:48:42 (GMT)
commit4d5ea6ddffdac666ea8f79627ac6a5b923b4c7c9 (patch)
treea0f5f5f7b53317f9a03d4929f66d09ea683b4ee9 /Source/cmExtraCodeBlocksGenerator.cxx
parent235cb0216f07a7869057a51fdb8c59e6ee03554b (diff)
downloadCMake-4d5ea6ddffdac666ea8f79627ac6a5b923b4c7c9.zip
CMake-4d5ea6ddffdac666ea8f79627ac6a5b923b4c7c9.tar.gz
CMake-4d5ea6ddffdac666ea8f79627ac6a5b923b4c7c9.tar.bz2
STYLE: remove some commented code
Alex
Diffstat (limited to 'Source/cmExtraCodeBlocksGenerator.cxx')
-rw-r--r--Source/cmExtraCodeBlocksGenerator.cxx15
1 files changed, 2 insertions, 13 deletions
diff --git a/Source/cmExtraCodeBlocksGenerator.cxx b/Source/cmExtraCodeBlocksGenerator.cxx
index 9389584..9995b51 100644
--- a/Source/cmExtraCodeBlocksGenerator.cxx
+++ b/Source/cmExtraCodeBlocksGenerator.cxx
@@ -93,14 +93,12 @@ void cmExtraCodeBlocksGenerator::Generate()
}
-/* create the project file, if it already exists, merge it with the
-existing one, otherwise create a new one */
+/* create the project file */
void cmExtraCodeBlocksGenerator::CreateProjectFile(
const std::vector<cmLocalGenerator*>& lgs)
{
const cmMakefile* mf=lgs[0]->GetMakefile();
std::string outputDir=mf->GetStartOutputDirectory();
- std::string projectDir=mf->GetHomeDirectory();
std::string projectName=mf->GetProjectName();
std::string filename=outputDir+"/";
@@ -108,16 +106,7 @@ void cmExtraCodeBlocksGenerator::CreateProjectFile(
std::string sessionFilename=outputDir+"/";
sessionFilename+=projectName+".layout";
-/* if (cmSystemTools::FileExists(filename.c_str()))
- {
- this->MergeProjectFiles(outputDir, projectDir, filename,
- cmakeFilePattern, sessionFilename);
- }
- else */
- {
- this->CreateNewProjectFile(lgs, filename);
- }
-
+ this->CreateNewProjectFile(lgs, filename);
}