diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2019-08-19 18:17:17 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2019-08-19 18:17:17 (GMT) |
commit | a18100898ae5188883acab295179c6758e84f496 (patch) | |
tree | 623958924ba567ead6d57e08f3c606272acc76ad /Source/cmInstallExportGenerator.cxx | |
parent | c41c79285b5ebb7dd914a6e714aa553bb5078641 (diff) | |
download | CMake-a18100898ae5188883acab295179c6758e84f496.zip CMake-a18100898ae5188883acab295179c6758e84f496.tar.gz CMake-a18100898ae5188883acab295179c6758e84f496.tar.bz2 |
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.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmInstallExportGenerator.cxx b/Source/cmInstallExportGenerator.cxx index af06b9d..5412af3 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; +} |