From 51ba120844038017593106df8cb6f1f2cad3fb12 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 30 Sep 2009 16:03:09 -0400 Subject: [PATCH] Remove unused members of local VS 6 generator The commit "Use target dependency closure for VS 6 solutions" removed use of the CreatedProjectNames list, so we remove it. --- Source/cmLocalVisualStudio6Generator.cxx | 3 --- Source/cmLocalVisualStudio6Generator.h | 11 +---------- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx index 1543174af..3719b5f52 100644 --- a/Source/cmLocalVisualStudio6Generator.cxx +++ b/Source/cmLocalVisualStudio6Generator.cxx @@ -153,8 +153,6 @@ void cmLocalVisualStudio6Generator::OutputDSPFile() // Create the DSP or set of DSP's for libraries and executables - // clear project names - this->CreatedProjectNames.clear(); cmTargets &tgts = this->Makefile->GetTargets(); for(cmTargets::iterator l = tgts.begin(); l != tgts.end(); l++) @@ -227,7 +225,6 @@ void cmLocalVisualStudio6Generator::CreateSingleDSP(const char *lname, // add to the list of projects std::string pname = GetVS6TargetName(lname); - this->CreatedProjectNames.push_back(pname); // create the dsp.cmake file std::string fname; fname = this->Makefile->GetStartOutputDirectory(); diff --git a/Source/cmLocalVisualStudio6Generator.h b/Source/cmLocalVisualStudio6Generator.h index 2cb19dddc..727986903 100644 --- a/Source/cmLocalVisualStudio6Generator.h +++ b/Source/cmLocalVisualStudio6Generator.h @@ -49,14 +49,6 @@ public: */ void SetBuildType(BuildType, const char* libName, cmTarget&); - /** - * Return array of created DSP names in a STL vector. - * Each executable must have its own dsp. - */ - std::vector GetCreatedProjectNames() - { - return this->CreatedProjectNames; - } virtual std::string GetTargetDirectory(cmTarget const& target) const; void GetTargetObjectFileDirectories(cmTarget* target, std::vector& @@ -64,8 +56,7 @@ public: private: std::string DSPHeaderTemplate; std::string DSPFooterTemplate; - std::vector CreatedProjectNames; - + void CreateSingleDSP(const char *lname, cmTarget &tgt); void WriteDSPFile(std::ostream& fout, const char *libName, cmTarget &tgt);