summaryrefslogtreecommitdiff
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2017-02-09 07:46:40 -0700
committerClinton Stimpson <clinton@elemtech.com>2017-02-14 14:28:01 -0700
commit4bff2d14fd3010ba4aa1bfc3eda2fb2cdcc5da0f (patch)
treeb6e695ded8384436153375f00ace070439b90790 /Source/cmGeneratorTarget.h
parent624fb9d7175ee011f8a86c8d7614be4806a53184 (diff)
downloadcmake-4bff2d14fd3010ba4aa1bfc3eda2fb2cdcc5da0f.tar.gz
Apple: Refactor support for using INSTALL_NAME_DIR.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index f5686995af..689fbda16b 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;