summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-07-23 19:32:54 (GMT)
committerBrad King <brad.king@kitware.com>2003-07-23 19:32:54 (GMT)
commit48aedb2ba39621a75065a4b4bc5aca7ea695c65a (patch)
treea0e0608e847a321dd15e681998b2eb0565e74b23 /Source/cmLocalVisualStudio7Generator.cxx
parente093bdade050419290a1535ced1ca11fe7f8a2d5 (diff)
downloadCMake-48aedb2ba39621a75065a4b4bc5aca7ea695c65a.zip
CMake-48aedb2ba39621a75065a4b4bc5aca7ea695c65a.tar.gz
CMake-48aedb2ba39621a75065a4b4bc5aca7ea695c65a.tar.bz2
ENH: Fully implemented SOURCE_GROUP command.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index dbde4a7..95f0977 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -695,7 +695,7 @@ void cmLocalVisualStudio7Generator::WriteVCProjFile(std::ostream& fout,
}
cmSourceGroup& sourceGroup =
m_Makefile->FindSourceGroup(source.c_str(), sourceGroups);
- sourceGroup.AddSource(source.c_str(), *i);
+ sourceGroup.AssignSource(*i);
}
// open the project