mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
ENH: Add InstallNameFixupPath to support installing built frameworks on the Mac. Change Application to Applications in the BundleTest. Also correct small typo (tcl->Tcl) noted in bug 4572.
This commit is contained in:
@@ -137,7 +137,7 @@ public:
|
||||
*/
|
||||
std::string GetRuntimeInstallPath() {return this->RuntimeInstallPath;}
|
||||
void SetRuntimeInstallPath(const char *name) {
|
||||
this->RuntimeInstallPath = name;}
|
||||
this->RuntimeInstallPath = name; }
|
||||
|
||||
/**
|
||||
* Get/Set whether there is an install rule for this target.
|
||||
@@ -145,6 +145,18 @@ public:
|
||||
bool GetHaveInstallRule() { return this->HaveInstallRule; }
|
||||
void SetHaveInstallRule(bool h) { this->HaveInstallRule = h; }
|
||||
|
||||
/**
|
||||
* Get/Set the path needed for calls to install_name_tool regarding this
|
||||
* target. Used to support fixing up installed libraries and executables on
|
||||
* the Mac (including bundles and frameworks). Only used if the target does
|
||||
* not have an INSTALL_NAME_DIR property.
|
||||
* See cmInstallTargetGenerator::AddInstallNamePatchRule and callers for
|
||||
* more information.
|
||||
*/
|
||||
std::string GetInstallNameFixupPath() { return this->InstallNameFixupPath; }
|
||||
void SetInstallNameFixupPath(const char *path) {
|
||||
this->InstallNameFixupPath = path; }
|
||||
|
||||
/** Add a utility on which this project depends. A utility is an executable
|
||||
* name as would be specified to the ADD_EXECUTABLE or UTILITY_SOURCE
|
||||
* commands. It is not a full path nor does it have an extension.
|
||||
@@ -382,6 +394,7 @@ private:
|
||||
std::vector<std::string> LinkDirectories;
|
||||
std::vector<std::string> ExplicitLinkDirectories;
|
||||
bool HaveInstallRule;
|
||||
std::string InstallNameFixupPath;
|
||||
std::string InstallPath;
|
||||
std::string RuntimeInstallPath;
|
||||
std::string OutputDir;
|
||||
|
||||
Reference in New Issue
Block a user