summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-07-14 16:22:57 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-01-09 18:38:08 (GMT)
commit531e40b95e80fbf5547b0a8d71196e819bb3aa3d (patch)
treec1b9f09d329496f511135c9665275e8fc21f6ccf /Source/cmGeneratorTarget.h
parent38de54cf6f3daae70792fae1bf26b97bccc78de4 (diff)
downloadCMake-531e40b95e80fbf5547b0a8d71196e819bb3aa3d.zip
CMake-531e40b95e80fbf5547b0a8d71196e819bb3aa3d.tar.gz
CMake-531e40b95e80fbf5547b0a8d71196e819bb3aa3d.tar.bz2
cmTarget: Make GetSourceFiles populate an out-vector parameter.
In a future patch, this will also be populated with extra sources from the linked dependencies.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index 4c023bf..17a223a 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -30,7 +30,7 @@ public:
const char *GetName() const;
const char *GetProperty(const char *prop) const;
bool GetPropertyAsBool(const char *prop) const;
- std::vector<cmSourceFile*> const& GetSourceFiles() const;
+ void GetSourceFiles(std::vector<cmSourceFile*>& files) const;
void GetObjectSources(std::vector<cmSourceFile*> &) const;
const std::string& GetObjectName(cmSourceFile const* file);