diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-07-14 20:10:18 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-07-14 20:10:18 (GMT) |
commit | a3eeaa1ce2fb4ca4e6c2f2a6d1f9bb6e9709ce34 (patch) | |
tree | e37cf2ce0ea44d23e210f4ba112cab3f9b76c43b /Source/cmLocalVisualStudio7Generator.h | |
parent | cb85eeaa112bdd85ee7495fbfe91402c8c9c8fa7 (diff) | |
download | CMake-a3eeaa1ce2fb4ca4e6c2f2a6d1f9bb6e9709ce34.zip CMake-a3eeaa1ce2fb4ca4e6c2f2a6d1f9bb6e9709ce34.tar.gz CMake-a3eeaa1ce2fb4ca4e6c2f2a6d1f9bb6e9709ce34.tar.bz2 |
ENH: use a map to fill out flags, and keep command line consistent with the GUI
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.h')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.h b/Source/cmLocalVisualStudio7Generator.h index 275bbd7..52d1624 100644 --- a/Source/cmLocalVisualStudio7Generator.h +++ b/Source/cmLocalVisualStudio7Generator.h @@ -24,6 +24,7 @@ class cmTarget; class cmSourceFile; class cmCustomCommand; class cmSourceGroup; +struct cmVS7FlagTable; /** \class cmLocalVisualStudio7Generator * \brief Write a LocalUnix makefiles. @@ -67,6 +68,9 @@ public: void SetVersion8() {m_Version = 8;} virtual void ConfigureFinalPass(); private: + void FillFlagMapFromCommandFlags(std::map<cmStdString, cmStdString>& flagMap, + cmVS7FlagTable* flagTable, + std::string& flags); void OutputVCProjFile(); void WriteVCProjHeader(std::ostream& fout, const char *libName, const cmTarget &tgt, std::vector<cmSourceGroup> &sgs); |