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

@@ -30,10 +30,6 @@ bool cmIncludeExternalMSProjectCommand::InitialPass(std::vector<std::string> con
{
std::string location = args[1];
std::vector<std::string> name_and_location;
name_and_location.push_back(args[0]);
name_and_location.push_back(location);
std::vector<std::string> depends;
if (args.size() > 2)
{
@@ -47,8 +43,8 @@ bool cmIncludeExternalMSProjectCommand::InitialPass(std::vector<std::string> con
utility_name += "_";
utility_name += args[0];
m_Makefile->AddUtilityCommand(utility_name.c_str(), "echo", "\"Include external project\"",
true, name_and_location, depends);
m_Makefile->AddUtilityCommand(utility_name.c_str(), args[0].c_str(), args[1].c_str(),
true, depends);
}
#endif