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/cmLinkItem.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/cmLinkItem.h')
-rw-r--r-- | Source/cmLinkItem.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Source/cmLinkItem.h b/Source/cmLinkItem.h index a5427de..eb585ab 100644 --- a/Source/cmLinkItem.h +++ b/Source/cmLinkItem.h @@ -56,4 +56,44 @@ struct cmLinkImplementationLibraries std::vector<cmLinkItem> WrongConfigLibraries; }; +struct cmLinkInterfaceLibraries +{ + // Libraries listed in the interface. + std::vector<cmLinkItem> Libraries; +}; + +struct cmLinkInterface: public cmLinkInterfaceLibraries +{ + // 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; + + cmLinkInterface(): Multiplicity(0), ImplementationIsInterface(false) {} +}; + +struct cmOptionalLinkInterface: public cmLinkInterface +{ + cmOptionalLinkInterface(): + LibrariesDone(false), AllDone(false), + Exists(false), HadHeadSensitiveCondition(false), + ExplicitLibraries(0) {} + bool LibrariesDone; + bool AllDone; + bool Exists; + bool HadHeadSensitiveCondition; + const char* ExplicitLibraries; +}; + #endif |