diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-03-23 14:53:29 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-03-23 20:45:09 (GMT) |
commit | f6241db3e0b69fbf99835b955b17be0f253a742f (patch) | |
tree | 80d9cb9d1db062adbfb218824a95cbdb80367a6c /Source/cmTarget.h | |
parent | 3c09bf0fa7139be0215224ef85a4c2d3c38227f0 (diff) | |
download | CMake-f6241db3e0b69fbf99835b955b17be0f253a742f.zip CMake-f6241db3e0b69fbf99835b955b17be0f253a742f.tar.gz CMake-f6241db3e0b69fbf99835b955b17be0f253a742f.tar.bz2 |
cmTarget: Move member `OriginalLinkLibraries` to impl
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index f552d23..33439fa 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -116,26 +116,18 @@ public: this->PostBuildCommands.push_back(cmd); } - /** - * Add sources to the target. - */ + ///! Add sources to the target. void AddSources(std::vector<std::string> const& srcs); void AddTracedSources(std::vector<std::string> const& srcs); cmSourceFile* AddSourceCMP0049(const std::string& src); cmSourceFile* AddSource(const std::string& src, bool before = false); - //* how we identify a library, by name and type + ///! how we identify a library, by name and type typedef std::pair<std::string, cmTargetLinkLibraryType> LibraryID; - typedef std::vector<LibraryID> LinkLibraryVectorType; - const LinkLibraryVectorType& GetOriginalLinkLibraries() const - { - return this->OriginalLinkLibraries; - } + LinkLibraryVectorType const& GetOriginalLinkLibraries() const; - /** - * Clear the dependency information recorded for this target, if any. - */ + ///! Clear the dependency information recorded for this target, if any. void ClearDependencyInformation(cmMakefile& mf); void AddLinkLibrary(cmMakefile& mf, const std::string& lib, @@ -307,7 +299,6 @@ private: std::vector<cmCustomCommand> PreLinkCommands; std::vector<cmCustomCommand> PostBuildCommands; std::vector<std::pair<TLLSignature, cmListFileContext>> TLLCommands; - LinkLibraryVectorType OriginalLinkLibraries; cmTargetInternalPointer impl; bool HaveInstallRule; bool DLLPlatform; |