ENH: generate a sln and dsw file for each sub project in a project

This commit is contained in:
Bill Hoffman
2003-11-26 14:29:53 -05:00
parent 945fcb581d
commit 5ccfaefb48
6 changed files with 314 additions and 159 deletions

View File

@@ -82,7 +82,10 @@ public:
std::vector<std::string> *GetConfigurations();
protected:
virtual void WriteSLNFile(std::ostream& fout);
void CollectSubprojects();
void OutputSLNFile(const char* projectName,
std::vector<cmLocalGenerator*>& generators);
virtual void WriteSLNFile(std::ostream& fout, std::vector<cmLocalGenerator*>& generators);
virtual void WriteProject(std::ostream& fout,
const char* name, const char* path,
const cmTarget &t);
@@ -103,6 +106,7 @@ protected:
std::vector<std::string> m_Configurations;
std::map<cmStdString, cmStdString> m_GUIDMap;
std::map<cmStdString, std::vector<cmLocalGenerator*> > m_SubProjectMap;
};
#endif