ENH: clean up of INCLUDE_EXTERNAL_MSPROJECT contributed by Clinton Stimpson

This commit is contained in:
Bill Hoffman
2004-09-15 12:07:57 -04:00
parent b1f3e10439
commit 5001eed8a5
5 changed files with 29 additions and 38 deletions

View File

@@ -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
{