diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-03-23 15:42:11 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-03-23 20:45:10 (GMT) |
commit | 0dcef68cd8961f8b3d89edbf46093949778daac8 (patch) | |
tree | e1085c3c600c76f68c9c092bf8c1e57792cb47b8 /Source/cmTarget.h | |
parent | 5db17e9d8107629c1dabd0c1e2bf26429e5d841d (diff) | |
download | CMake-0dcef68cd8961f8b3d89edbf46093949778daac8.zip CMake-0dcef68cd8961f8b3d89edbf46093949778daac8.tar.gz CMake-0dcef68cd8961f8b3d89edbf46093949778daac8.tar.bz2 |
cmTarget: Move member `InstallPath` to impl
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index f9dd83e..7dfedf1 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -154,8 +154,8 @@ public: * Set the path where this target should be installed. This is relative to * INSTALL_PREFIX */ - std::string GetInstallPath() const { return this->InstallPath; } - void SetInstallPath(const char* name) { this->InstallPath = name; } + std::string const& GetInstallPath() const; + void SetInstallPath(std::string const& name); /** * Set the path where this target (if it has a runtime part) should be @@ -297,7 +297,6 @@ private: private: bool IsGeneratorProvided; - std::string InstallPath; std::string RuntimeInstallPath; std::vector<cmCustomCommand> PreBuildCommands; std::vector<cmCustomCommand> PreLinkCommands; |