diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-04-26 20:22:53 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-04-26 20:22:53 (GMT) |
commit | 41e1270413b18272bc73a8b25150aad4c7913563 (patch) | |
tree | 97d507f6296c78e5aaf17e1858e610cf95c46ba7 /Source/cmMakefile.h | |
parent | 888e47ddb4215659e76673af4f18aba865ccc4b8 (diff) | |
download | CMake-41e1270413b18272bc73a8b25150aad4c7913563.zip CMake-41e1270413b18272bc73a8b25150aad4c7913563.tar.gz CMake-41e1270413b18272bc73a8b25150aad4c7913563.tar.bz2 |
support for debug and opt libraries
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index a8930b0..4da8f2b 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -119,9 +119,20 @@ public: void AddUtilityDirectory(const char*); /** + * Get a list of link libraries in the build. + */ + enum LinkLibraryType {GENERAL, DEBUG, OPTIMIZED}; + typedef std::vector<std::pair<std::string,LinkLibraryType> > LinkLibraries; + LinkLibraries& GetLinkLibraries() + { + return m_LinkLibraries; + } + + /** * Add a link library to the build. */ void AddLinkLibrary(const char*); + void AddLinkLibrary(const char*, LinkLibraryType type); /** * Add a link directory to the build. @@ -333,14 +344,6 @@ public: } /** - * Get a list of link libraries in the build. - */ - std::vector<std::string>& GetLinkLibraries() - { - return m_LinkLibraries; - } - - /** * Return a list of source files in this makefile. */ typedef std::map<std::string,std::vector<cmSourceFile> > SourceMap; @@ -446,7 +449,7 @@ protected: std::vector<std::string> m_LinkDirectories; std::vector<std::string> m_Utilities; std::vector<std::string> m_UtilityDirectories; - std::vector<std::string> m_LinkLibraries; + LinkLibraries m_LinkLibraries; std::string m_IncludeFileRegularExpression; std::string m_DefineFlags; std::vector<cmSourceGroup> m_SourceGroups; |