diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-12-26 18:14:19 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-12-26 18:14:19 (GMT) |
commit | 452925649a619256e509ed19bb7c41af1d643deb (patch) | |
tree | 3d4d79fdeda6d6a578cf8c529daa2d0c47ba8c6b /Source/cmTarget.h | |
parent | 102ab85a172b67696cf72c4ba526012a83a5bc2e (diff) | |
download | CMake-452925649a619256e509ed19bb7c41af1d643deb.zip CMake-452925649a619256e509ed19bb7c41af1d643deb.tar.gz CMake-452925649a619256e509ed19bb7c41af1d643deb.tar.bz2 |
ENH: add better support for framework linking
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 56ee497..630367d 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -79,6 +79,9 @@ public: * Get the list of the source lists used by this target */ std::vector<std::string> &GetSourceLists() {return m_SourceLists;} + + ///! Return the list of frameworks being linked to this target + std::vector<std::string> &GetFrameworks() {return m_Frameworks;} /** * Get the list of the source files used by this target @@ -97,6 +100,8 @@ public: */ void ClearDependencyInformation(cmMakefile& mf, const char* target); + // Check to see if a library is a framework and treat it different on Mac + bool AddFramework(const std::string& lib, LinkLibraryType llt); void AddLinkLibrary(cmMakefile& mf, const char *target, const char* lib, LinkLibraryType llt); @@ -276,6 +281,7 @@ private: std::vector<cmSourceFile*> m_SourceFiles; LinkLibraries m_LinkLibraries; LinkLibraries m_PrevLinkedLibraries; + std::vector<std::string> m_Frameworks; std::vector<std::string> m_LinkDirectories; std::string m_InstallPath; std::string m_RuntimeInstallPath; |