summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-01-09 18:54:23 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-01-09 18:54:23 (GMT)
commite56530f6121a96c0434cba673d530366907df980 (patch)
tree6f4848474b9fd414736d3e73bf805c4e60876619 /Source/cmGlobalGenerator.cxx
parent089ae7122b3ba030ca55b5a85be54b334c16f4b2 (diff)
parent531e40b95e80fbf5547b0a8d71196e819bb3aa3d (diff)
downloadCMake-e56530f6121a96c0434cba673d530366907df980.zip
CMake-e56530f6121a96c0434cba673d530366907df980.tar.gz
CMake-e56530f6121a96c0434cba673d530366907df980.tar.bz2
Merge topic 'minor-cleanups'
531e40b cmTarget: Make GetSourceFiles populate an out-vector parameter. 38de54c cmGeneratorTarget: Add methods to access source file groups. f579fe0 Help: Fix link to MAP_IMPORTED_CONFIG_<CONFIG> 590d238 cmTarget: Handle NO_SYSTEM_FROM_IMPORTED.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 1c4488f..f883fbe 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -2900,7 +2900,8 @@ void cmGlobalGenerator::WriteSummary(cmTarget* target)
// List the source files with any per-source labels.
fout << "# Source files and their labels\n";
- std::vector<cmSourceFile*> const& sources = target->GetSourceFiles();
+ std::vector<cmSourceFile*> sources;
+ target->GetSourceFiles(sources);
for(std::vector<cmSourceFile*>::const_iterator si = sources.begin();
si != sources.end(); ++si)
{