diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2017-02-09 14:46:40 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2017-02-14 21:28:01 (GMT) |
commit | 4bff2d14fd3010ba4aa1bfc3eda2fb2cdcc5da0f (patch) | |
tree | b6e695ded8384436153375f00ace070439b90790 /Source/cmGeneratorTarget.h | |
parent | 624fb9d7175ee011f8a86c8d7614be4806a53184 (diff) | |
download | CMake-4bff2d14fd3010ba4aa1bfc3eda2fb2cdcc5da0f.zip CMake-4bff2d14fd3010ba4aa1bfc3eda2fb2cdcc5da0f.tar.gz CMake-4bff2d14fd3010ba4aa1bfc3eda2fb2cdcc5da0f.tar.bz2 |
Apple: Refactor support for using INSTALL_NAME_DIR.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r-- | Source/cmGeneratorTarget.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h index f568699..689fbda 100644 --- a/Source/cmGeneratorTarget.h +++ b/Source/cmGeneratorTarget.h @@ -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; |