summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallExportGenerator.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2019-08-19 18:17:17 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2019-08-19 18:17:17 (GMT)
commita18100898ae5188883acab295179c6758e84f496 (patch)
tree623958924ba567ead6d57e08f3c606272acc76ad /Source/cmInstallExportGenerator.h
parentc41c79285b5ebb7dd914a6e714aa553bb5078641 (diff)
downloadCMake-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.h')
-rw-r--r--Source/cmInstallExportGenerator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmInstallExportGenerator.h b/Source/cmInstallExportGenerator.h
index c4d252c..e680066 100644
--- a/Source/cmInstallExportGenerator.h
+++ b/Source/cmInstallExportGenerator.h
@@ -41,6 +41,7 @@ public:
const std::string& GetNamespace() const { return this->Namespace; }
std::string const& GetDestination() const { return this->Destination; }
+ std::string GetDestinationFile() const;
protected:
void GenerateScript(std::ostream& os) override;