diff options
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 8bb8f9b..454c95d 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -76,7 +76,12 @@ public: /** * Get the list of the source lists used by this target */ - std::vector<std::string> &GetSourceLists() {return this->SourceLists;} + std::vector<std::string> const& GetSourceLists() {return this->SourceLists;} + + void AddSourceListEntry(const char* src) + { this->SourceLists.push_back(src); } + void SetSourceList(std::vector<std::string> const& srcs) + { this->SourceLists = srcs; } ///! Return the list of frameworks being linked to this target std::vector<std::string> &GetFrameworks() {return this->Frameworks;} |