summaryrefslogtreecommitdiff
path: root/Source/cmInstallExportGenerator.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2019-08-19 14:17:17 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2019-08-19 14:17:17 -0400
commita18100898ae5188883acab295179c6758e84f496 (patch)
tree623958924ba567ead6d57e08f3c606272acc76ad /Source/cmInstallExportGenerator.cxx
parentc41c79285b5ebb7dd914a6e714aa553bb5078641 (diff)
downloadcmake-a18100898ae5188883acab295179c6758e84f496.tar.gz
cmInstallExportGenerator: add a method for the file destination
This will be used in the error message which remarks about a target being exported ambiguously into different installations.
Diffstat (limited to 'Source/cmInstallExportGenerator.cxx')
-rw-r--r--Source/cmInstallExportGenerator.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmInstallExportGenerator.cxx b/Source/cmInstallExportGenerator.cxx
index af06b9da72..5412af3e62 100644
--- a/Source/cmInstallExportGenerator.cxx
+++ b/Source/cmInstallExportGenerator.cxx
@@ -218,3 +218,8 @@ void cmInstallExportGenerator::GenerateScriptActions(std::ostream& os,
false, this->FilePermissions.c_str(), nullptr, nullptr,
nullptr, indent);
}
+
+std::string cmInstallExportGenerator::GetDestinationFile() const
+{
+ return this->Destination + '/' + this->FileName;
+}