[Cmake-commits] [cmake-commits] king committed cmLocalVisualStudio6Generator.cxx 1.160 1.161 cmLocalVisualStudio6Generator.h 1.25 1.26

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Sep 30 16:03:12 EDT 2009


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv23614/Source

Modified Files:
	cmLocalVisualStudio6Generator.cxx 
	cmLocalVisualStudio6Generator.h 
Log Message:
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.


Index: cmLocalVisualStudio6Generator.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalVisualStudio6Generator.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -C 2 -d -r1.25 -r1.26
*** cmLocalVisualStudio6Generator.h	28 Sep 2009 15:42:47 -0000	1.25
--- cmLocalVisualStudio6Generator.h	30 Sep 2009 20:03:09 -0000	1.26
***************
*** 50,61 ****
    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,
--- 50,53 ----
***************
*** 65,70 ****
    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, 
--- 57,61 ----
    std::string DSPHeaderTemplate;
    std::string DSPFooterTemplate;
! 
    void CreateSingleDSP(const char *lname, cmTarget &tgt);
    void WriteDSPFile(std::ostream& fout, const char *libName, 

Index: cmLocalVisualStudio6Generator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalVisualStudio6Generator.cxx,v
retrieving revision 1.160
retrieving revision 1.161
diff -C 2 -d -r1.160 -r1.161
*** cmLocalVisualStudio6Generator.cxx	28 Sep 2009 15:42:47 -0000	1.160
--- cmLocalVisualStudio6Generator.cxx	30 Sep 2009 20:03:08 -0000	1.161
***************
*** 154,159 ****
    // 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(); 
--- 154,157 ----
***************
*** 228,232 ****
    std::string pname = GetVS6TargetName(lname);
  
-   this->CreatedProjectNames.push_back(pname);
    // create the dsp.cmake file
    std::string fname;
--- 226,229 ----



More information about the Cmake-commits mailing list