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.
This commit is contained in:
Brad King 2009-09-30 16:03:09 -04:00
parent 55eec2a5bf
commit 51ba120844
2 changed files with 1 additions and 13 deletions

View File

@ -153,8 +153,6 @@ void cmLocalVisualStudio6Generator::OutputDSPFile()
// Create the DSP or set of DSP's for libraries and executables // Create the DSP or set of DSP's for libraries and executables
// clear project names
this->CreatedProjectNames.clear();
cmTargets &tgts = this->Makefile->GetTargets(); cmTargets &tgts = this->Makefile->GetTargets();
for(cmTargets::iterator l = tgts.begin(); for(cmTargets::iterator l = tgts.begin();
l != tgts.end(); l++) l != tgts.end(); l++)
@ -227,7 +225,6 @@ void cmLocalVisualStudio6Generator::CreateSingleDSP(const char *lname,
// add to the list of projects // add to the list of projects
std::string pname = GetVS6TargetName(lname); std::string pname = GetVS6TargetName(lname);
this->CreatedProjectNames.push_back(pname);
// create the dsp.cmake file // create the dsp.cmake file
std::string fname; std::string fname;
fname = this->Makefile->GetStartOutputDirectory(); fname = this->Makefile->GetStartOutputDirectory();

View File

@ -49,14 +49,6 @@ public:
*/ */
void SetBuildType(BuildType, const char* libName, cmTarget&); 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<std::string> GetCreatedProjectNames()
{
return this->CreatedProjectNames;
}
virtual std::string GetTargetDirectory(cmTarget const& target) const; virtual std::string GetTargetDirectory(cmTarget const& target) const;
void GetTargetObjectFileDirectories(cmTarget* target, void GetTargetObjectFileDirectories(cmTarget* target,
std::vector<std::string>& std::vector<std::string>&
@ -64,7 +56,6 @@ public:
private: private:
std::string DSPHeaderTemplate; std::string DSPHeaderTemplate;
std::string DSPFooterTemplate; std::string DSPFooterTemplate;
std::vector<std::string> CreatedProjectNames;
void CreateSingleDSP(const char *lname, cmTarget &tgt); void CreateSingleDSP(const char *lname, cmTarget &tgt);
void WriteDSPFile(std::ostream& fout, const char *libName, void WriteDSPFile(std::ostream& fout, const char *libName,