diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-26 17:35:45 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-26 17:35:45 (GMT) |
commit | d67584ccc4262c103a180504cb294e3ad6b6910d (patch) | |
tree | 456b7484187e71adad2cac1c08100cdf74821535 /Source/cmTarget.h | |
parent | 33df7f36d0b99a87880ee76d39b5814c98e78bd1 (diff) | |
download | CMake-d67584ccc4262c103a180504cb294e3ad6b6910d.zip CMake-d67584ccc4262c103a180504cb294e3ad6b6910d.tar.gz CMake-d67584ccc4262c103a180504cb294e3ad6b6910d.tar.bz2 |
cmTarget: Move link interface libraries struct out.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 34 |
1 files changed, 3 insertions, 31 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 2007b40..8594e05 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -233,39 +233,11 @@ public: void GetObjectLibrariesCMP0026(std::vector<cmTarget*>& objlibs) const; - /** The link interface specifies transitive library dependencies and - other information needed by targets that link to this target. */ - struct LinkInterfaceLibraries - { - // Libraries listed in the interface. - std::vector<cmLinkItem> Libraries; - }; - struct LinkInterface: public LinkInterfaceLibraries - { - // Languages whose runtime libraries must be linked. - std::vector<std::string> Languages; - - // Shared library dependencies needed for linking on some platforms. - std::vector<cmLinkItem> SharedDeps; - - // Number of repetitions of a strongly connected component of two - // or more static libraries. - int Multiplicity; - - // Libraries listed for other configurations. - // Needed only for OLD behavior of CMP0003. - std::vector<cmLinkItem> WrongConfigLibraries; - - bool ImplementationIsInterface; - - LinkInterface(): Multiplicity(0), ImplementationIsInterface(false) {} - }; - /** Get the link interface for the given configuration. Returns 0 if the target cannot be linked. */ - LinkInterface const* GetLinkInterface(const std::string& config, + cmLinkInterface const* GetLinkInterface(const std::string& config, cmTarget const* headTarget) const; - LinkInterfaceLibraries const* + cmLinkInterfaceLibraries const* GetLinkInterfaceLibraries(const std::string& config, cmTarget const* headTarget, bool usage_requirements_only) const; @@ -592,7 +564,7 @@ private: ImportInfo& info) const; - LinkInterface const* + cmLinkInterface const* GetImportLinkInterface(const std::string& config, cmTarget const* head, bool usage_requirements_only) const; |