ENH: fix vsexternal test on vs 71

This commit is contained in:
Bill Hoffman 2009-07-14 16:06:58 -04:00
parent 69e366f49b
commit 019252be80
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,8 @@ bool cmIncludeExternalMSProjectCommand
cmTarget* target=this->Makefile->AddNewTarget(cmTarget::UTILITY, cmTarget* target=this->Makefile->AddNewTarget(cmTarget::UTILITY,
args[0].c_str()); args[0].c_str());
target->SetProperty("EXTERNAL_MSPROJECT", path.c_str()); target->SetProperty("EXTERNAL_MSPROJECT", path.c_str());
target->SetProperty("EXCLUDE_FROM_ALL","FALSE"); target->SetProperty("EXCLUDE_FROM_ALL","FALSE");
target->SetProperty("GENERATOR_FILE_NAME", args[0].c_str());
for (unsigned int i=2; i<args.size(); ++i) for (unsigned int i=2; i<args.size(); ++i)
{ {
target->AddUtility(args[i].c_str()); target->AddUtility(args[i].c_str());