diff options
author | Brad King <brad.king@kitware.com> | 2007-05-28 15:00:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-05-28 15:00:26 (GMT) |
commit | 27a0677d3e1caffd16232086e86ed1657731723d (patch) | |
tree | 3f0546179b06c51cfddb8e4f57fba775b27c4aed /Source/cmLocalVisualStudio7Generator.cxx | |
parent | 3f2dd9bc54d1dfc47fcf8e22979e409ad50e875a (diff) | |
download | CMake-27a0677d3e1caffd16232086e86ed1657731723d.zip CMake-27a0677d3e1caffd16232086e86ed1657731723d.tar.gz CMake-27a0677d3e1caffd16232086e86ed1657731723d.tar.bz2 |
COMP: Fix build for windows-only generators after change to GetSourceFiles signature.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 54866e5..9a0ee59 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -88,7 +88,7 @@ void cmLocalVisualStudio7Generator::FixGlobalTargets() if(cmSourceFile* file = this->Makefile->GetSourceFileWithOutput(force.c_str())) { - tgt.GetSourceFiles().push_back(file); + tgt.AddSourceFile(file); } } } @@ -219,7 +219,7 @@ void cmLocalVisualStudio7Generator::AddVCProjBuildRule(cmTarget& tgt) no_working_directory, true); if(cmSourceFile* file = this->Makefile->GetSource(makefileIn.c_str())) { - tgt.GetSourceFiles().push_back(file); + tgt.AddSourceFile(file); } else { @@ -963,7 +963,7 @@ void cmLocalVisualStudio7Generator::WriteVCProjFile(std::ostream& fout, std::vector<cmSourceGroup> sourceGroups = this->Makefile->GetSourceGroups(); // get the classes from the source lists then add them to the groups - std::vector<cmSourceFile*> & classes = target.GetSourceFiles(); + std::vector<cmSourceFile*>const & classes = target.GetSourceFiles(); for(std::vector<cmSourceFile*>::const_iterator i = classes.begin(); i != classes.end(); i++) { |