diff options
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 454c95d..97f574d 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -89,7 +89,9 @@ public: /** * Get the list of the source files used by this target */ - std::vector<cmSourceFile*> &GetSourceFiles() {return this->SourceFiles;} + std::vector<cmSourceFile*> const &GetSourceFiles() + {return this->SourceFiles;} + void AddSourceFile(cmSourceFile* sf) { this->SourceFiles.push_back(sf); } /** * Get the list of the source files used by this target |