summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-11-26 19:29:53 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-11-26 19:29:53 (GMT)
commit5ccfaefb48758c7af0df011df160add1df1e1b53 (patch)
treeae6202ea94f7a18407752ead032cbe44aa5c7011 /Source/cmGlobalVisualStudio7Generator.h
parent945fcb581d2c8f21bd9bc077ccf505ee058fa81d (diff)
downloadCMake-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/cmGlobalVisualStudio7Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio7Generator.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.h b/Source/cmGlobalVisualStudio7Generator.h
index a268a44..a8e2fb1 100644
--- a/Source/cmGlobalVisualStudio7Generator.h
+++ b/Source/cmGlobalVisualStudio7Generator.h
@@ -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