diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-11-26 19:29:53 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-11-26 19:29:53 (GMT) |
commit | 5ccfaefb48758c7af0df011df160add1df1e1b53 (patch) | |
tree | ae6202ea94f7a18407752ead032cbe44aa5c7011 /Source/cmGlobalVisualStudio6Generator.h | |
parent | 945fcb581d2c8f21bd9bc077ccf505ee058fa81d (diff) | |
download | CMake-5ccfaefb48758c7af0df011df160add1df1e1b53.zip CMake-5ccfaefb48758c7af0df011df160add1df1e1b53.tar.gz CMake-5ccfaefb48758c7af0df011df160add1df1e1b53.tar.bz2 |
ENH: generate a sln and dsw file for each sub project in a project
Diffstat (limited to 'Source/cmGlobalVisualStudio6Generator.h')
-rw-r--r-- | Source/cmGlobalVisualStudio6Generator.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio6Generator.h b/Source/cmGlobalVisualStudio6Generator.h index 4df1a70..ff0d8a3 100644 --- a/Source/cmGlobalVisualStudio6Generator.h +++ b/Source/cmGlobalVisualStudio6Generator.h @@ -68,8 +68,11 @@ public: * Generate the DSW workspace file. */ virtual void OutputDSWFile(); - + virtual void OutputDSWFile(const char* projectName, std::vector<cmLocalGenerator*>& generators); + virtual void WriteDSWFile(std::ostream& fout, + std::vector<cmLocalGenerator*>& generators); private: + void CollectSubprojects(); void GenerateConfigurations(cmMakefile* mf); void SetupTests(); void WriteDSWFile(std::ostream& fout); @@ -81,6 +84,7 @@ private: const char* name, const char* path, const std::vector<std::string>& dependencies); void WriteDSWFooter(std::ostream& fout); + std::map<cmStdString, std::vector<cmLocalGenerator*> > m_SubProjectMap; }; #endif |