summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-09-15 16:07:57 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-09-15 16:07:57 (GMT)
commit5001eed8a577f997be5f2ad50e0c8eb0999eb83f (patch)
treec36d50faf7a4ab10cd59003d08afabeb0884f675 /Source/cmLocalVisualStudio7Generator.cxx
parentb1f3e1043915666079a9ca4b82d0fe3548c50d36 (diff)
downloadCMake-5001eed8a577f997be5f2ad50e0c8eb0999eb83f.zip
CMake-5001eed8a577f997be5f2ad50e0c8eb0999eb83f.tar.gz
CMake-5001eed8a577f997be5f2ad50e0c8eb0999eb83f.tar.bz2
ENH: clean up of INCLUDE_EXTERNAL_MSPROJECT contributed by Clinton Stimpson
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 790cc1e..84f10a5 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -1285,10 +1285,10 @@ void cmLocalVisualStudio7Generator::ConfigureFinalPass()
for(cmTargets::iterator l = tgts.begin(); l != tgts.end(); l++)
{
if (strncmp(l->first.c_str(), "INCLUDE_EXTERNAL_MSPROJECT", 26) == 0)
- {
+ {
cmCustomCommand cc = l->second.GetPostBuildCommands()[0];
- std::vector<std::string> stuff = cc.GetDepends();
- gg->CreateGUID(stuff[0].c_str());
+ std::string project_name = cc.GetCommand();
+ gg->CreateGUID(project_name.c_str());
}
else
{