summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-09-30 20:03:09 (GMT)
committerBrad King <brad.king@kitware.com>2009-09-30 20:03:09 (GMT)
commit51ba120844038017593106df8cb6f1f2cad3fb12 (patch)
tree23d5cfb151550b02ba46567309add37b356d094b /Source
parent55eec2a5bf2994c22cdd184e6e4bf38655e5f091 (diff)
downloadCMake-51ba120844038017593106df8cb6f1f2cad3fb12.zip
CMake-51ba120844038017593106df8cb6f1f2cad3fb12.tar.gz
CMake-51ba120844038017593106df8cb6f1f2cad3fb12.tar.bz2
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.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalVisualStudio6Generator.cxx3
-rw-r--r--Source/cmLocalVisualStudio6Generator.h11
2 files changed, 1 insertions, 13 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx
index 1543174..3719b5f 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 2cb19dd..7279869 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<std::string> GetCreatedProjectNames()
- {
- return this->CreatedProjectNames;
- }
virtual std::string GetTargetDirectory(cmTarget const& target) const;
void GetTargetObjectFileDirectories(cmTarget* target,
std::vector<std::string>&
@@ -64,8 +56,7 @@ public:
private:
std::string DSPHeaderTemplate;
std::string DSPFooterTemplate;
- std::vector<std::string> CreatedProjectNames;
-
+
void CreateSingleDSP(const char *lname, cmTarget &tgt);
void WriteDSPFile(std::ostream& fout, const char *libName,
cmTarget &tgt);