diff options
author | Brad King <brad.king@kitware.com> | 2014-01-09 13:54:23 -0500 |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-01-09 13:54:23 -0500 |
commit | e56530f6121a96c0434cba673d530366907df980 (patch) | |
tree | 6f4848474b9fd414736d3e73bf805c4e60876619 /Source/cmGlobalGenerator.cxx | |
parent | 089ae7122b3ba030ca55b5a85be54b334c16f4b2 (diff) | |
parent | 531e40b95e80fbf5547b0a8d71196e819bb3aa3d (diff) | |
download | cmake-e56530f6121a96c0434cba673d530366907df980.tar.gz |
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.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 1c4488fa47..f883fbe990 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) { |