|
@@ -136,6 +136,8 @@ public:
|
|
|
const cmInstallCommandArguments* args) const;
|
|
const cmInstallCommandArguments* args) const;
|
|
|
std::string GetManDestination(const cmInstallCommandArguments* args) const;
|
|
std::string GetManDestination(const cmInstallCommandArguments* args) const;
|
|
|
std::string GetDocDestination(const cmInstallCommandArguments* args) const;
|
|
std::string GetDocDestination(const cmInstallCommandArguments* args) const;
|
|
|
|
|
+ std::string GetProgramExecutablesDestination(
|
|
|
|
|
+ const cmInstallCommandArguments* args) const;
|
|
|
std::string GetDestinationForType(const cmInstallCommandArguments* args,
|
|
std::string GetDestinationForType(const cmInstallCommandArguments* args,
|
|
|
const std::string& type) const;
|
|
const std::string& type) const;
|
|
|
|
|
|
|
@@ -291,7 +293,7 @@ void AddInstallRuntimeDependenciesGenerator(
|
|
|
std::set<std::string> const allowedTypes{
|
|
std::set<std::string> const allowedTypes{
|
|
|
"BIN", "SBIN", "LIB", "INCLUDE", "SYSCONF",
|
|
"BIN", "SBIN", "LIB", "INCLUDE", "SYSCONF",
|
|
|
"SHAREDSTATE", "LOCALSTATE", "RUNSTATE", "DATA", "INFO",
|
|
"SHAREDSTATE", "LOCALSTATE", "RUNSTATE", "DATA", "INFO",
|
|
|
- "LOCALE", "MAN", "DOC",
|
|
|
|
|
|
|
+ "LOCALE", "MAN", "DOC", "LIBEXEC",
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
template <typename T>
|
|
template <typename T>
|
|
@@ -2591,6 +2593,12 @@ std::string Helper::GetDocDestination(
|
|
|
this->GetDataRootDestination(nullptr) + "/doc");
|
|
this->GetDataRootDestination(nullptr) + "/doc");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+std::string Helper::GetProgramExecutablesDestination(
|
|
|
|
|
+ const cmInstallCommandArguments* args) const
|
|
|
|
|
+{
|
|
|
|
|
+ return this->GetDestination(args, "CMAKE_INSTALL_LIBEXECDIR", "libexec");
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
std::string Helper::GetDestinationForType(
|
|
std::string Helper::GetDestinationForType(
|
|
|
const cmInstallCommandArguments* args, const std::string& type) const
|
|
const cmInstallCommandArguments* args, const std::string& type) const
|
|
|
{
|
|
{
|
|
@@ -2636,6 +2644,9 @@ std::string Helper::GetDestinationForType(
|
|
|
if (type == "DOC") {
|
|
if (type == "DOC") {
|
|
|
return this->GetDocDestination(nullptr);
|
|
return this->GetDocDestination(nullptr);
|
|
|
}
|
|
}
|
|
|
|
|
+ if (type == "LIBEXEC") {
|
|
|
|
|
+ return this->GetProgramExecutablesDestination(nullptr);
|
|
|
|
|
+ }
|
|
|
return "";
|
|
return "";
|
|
|
}
|
|
}
|
|
|
|
|
|