diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-06-22 13:06:46 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-06-22 13:06:46 (GMT) |
commit | 369308ca767367e5dd68fd783c830fd8a57ec751 (patch) | |
tree | df00ee1c003cb33dd70fb622dfd85fd6d2a058cb /Source/cmGlobalKdevelopGenerator.cxx | |
parent | 5fab6eebd651351ec3e712923cfa2d4b36788d74 (diff) | |
download | CMake-369308ca767367e5dd68fd783c830fd8a57ec751.zip CMake-369308ca767367e5dd68fd783c830fd8a57ec751.tar.gz CMake-369308ca767367e5dd68fd783c830fd8a57ec751.tar.bz2 |
ENH: make LOCATION an computed property of the target and get rid of a bunch of const junk
Diffstat (limited to 'Source/cmGlobalKdevelopGenerator.cxx')
-rw-r--r-- | Source/cmGlobalKdevelopGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalKdevelopGenerator.cxx b/Source/cmGlobalKdevelopGenerator.cxx index 7ed9dc6..012262d 100644 --- a/Source/cmGlobalKdevelopGenerator.cxx +++ b/Source/cmGlobalKdevelopGenerator.cxx @@ -78,7 +78,7 @@ void cmGlobalKdevelopGenerator::Generate() //run from kdevelop for now just pick the first executable found std::string executable; cmTargets& targets=mf->GetTargets(); - for (cmTargets::const_iterator ti = targets.begin(); + for (cmTargets::iterator ti = targets.begin(); ti != targets.end(); ti++) { if (ti->second.GetType()==cmTarget::EXECUTABLE) @@ -134,7 +134,7 @@ bool cmGlobalKdevelopGenerator //get all sources cmTargets& targets=makefile->GetTargets(); - for (cmTargets::const_iterator ti = targets.begin(); + for (cmTargets::iterator ti = targets.begin(); ti != targets.end(); ti++) { const std::vector<cmSourceFile*>& sources=ti->second.GetSourceFiles(); |