mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
Apple: Refactor support for using INSTALL_NAME_DIR.
This commit is contained in:
@@ -525,6 +525,16 @@ public:
|
||||
/** Whether this library defaults to \@rpath. */
|
||||
bool MacOSXRpathInstallNameDirDefault() const;
|
||||
|
||||
enum InstallNameType
|
||||
{
|
||||
INSTALL_NAME_FOR_BUILD,
|
||||
INSTALL_NAME_FOR_INSTALL
|
||||
};
|
||||
/** Whether to use INSTALL_NAME_DIR. */
|
||||
bool MacOSXUseInstallNameDir() const;
|
||||
/** Whether to generate an install_name. */
|
||||
bool CanGenerateInstallNameDir(InstallNameType t) const;
|
||||
|
||||
/** Test for special case of a third-party shared library that has
|
||||
no soname at all. */
|
||||
bool IsImportedSharedLibWithoutSOName(const std::string& config) const;
|
||||
|
||||
Reference in New Issue
Block a user