mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
cmInstallGenerator: Move GetDestination to subclasses that need it
The method is used only for EXPORT and TARGET install destinations. While at it, make it return a std::string by reference instead of a "const char*".
This commit is contained in:
@@ -41,6 +41,9 @@ public:
|
||||
|
||||
const std::string& GetNamespace() const { return this->Namespace; }
|
||||
|
||||
std::string const& GetDestination() const
|
||||
{ return this->Destination; }
|
||||
|
||||
protected:
|
||||
virtual void GenerateScript(std::ostream& os);
|
||||
virtual void GenerateScriptConfigs(std::ostream& os, Indent const& indent);
|
||||
|
||||
Reference in New Issue
Block a user