summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraCodeBlocksGenerator.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/cmExtraCodeBlocksGenerator.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/cmExtraCodeBlocksGenerator.cxx')
-rw-r--r--Source/cmExtraCodeBlocksGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmExtraCodeBlocksGenerator.cxx b/Source/cmExtraCodeBlocksGenerator.cxx
index fce1284..a066153 100644
--- a/Source/cmExtraCodeBlocksGenerator.cxx
+++ b/Source/cmExtraCodeBlocksGenerator.cxx
@@ -398,7 +398,8 @@ void cmExtraCodeBlocksGenerator
case cmTarget::OBJECT_LIBRARY:
case cmTarget::UTILITY: // can have sources since 2.6.3
{
- const std::vector<cmSourceFile*>&sources=ti->second.GetSourceFiles();
+ std::vector<cmSourceFile*> sources;
+ ti->second.GetSourceFiles(sources);
for (std::vector<cmSourceFile*>::const_iterator si=sources.begin();
si!=sources.end(); si++)
{