diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-09-13 07:57:43 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-07 06:37:58 (GMT) |
commit | 7b6dc0fe45c7064ad741461bfaf19028e8539c78 (patch) | |
tree | 048e3eae0cb243af3ea5f6e5970d42e4064201d6 /Source/cmTarget.h | |
parent | 33f87bb1f503c09a6b8018edf97b615f0e7f713d (diff) | |
download | CMake-7b6dc0fe45c7064ad741461bfaf19028e8539c78.zip CMake-7b6dc0fe45c7064ad741461bfaf19028e8539c78.tar.gz CMake-7b6dc0fe45c7064ad741461bfaf19028e8539c78.tar.bz2 |
cmGeneratorTarget: Inline GetSourceFiles from cmTarget.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 2f1671d..6024c38 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -135,11 +135,15 @@ public: void Compute(); - /** - * Get the list of the source files used by this target - */ - void GetSourceFiles(std::vector<cmSourceFile*> &files, - const std::string& config) const; + typedef std::map<std::string, std::vector<cmSourceFile*> > + SourceFilesMapType; + + SourceFilesMapType& GetSourceFilesMap() const; + + bool GetLinkImplementationLanguageIsContextDependent() const { + return this->LinkImplementationLanguageIsContextDependent; + } + /** * Add sources to the target. */ |