summaryrefslogtreecommitdiffstats
path: root/Source/cmIncludeExternalMSProjectCommand.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/cmIncludeExternalMSProjectCommand.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/cmIncludeExternalMSProjectCommand.cxx')
-rw-r--r--Source/cmIncludeExternalMSProjectCommand.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/cmIncludeExternalMSProjectCommand.cxx b/Source/cmIncludeExternalMSProjectCommand.cxx
index 8c00895..7e87dad 100644
--- a/Source/cmIncludeExternalMSProjectCommand.cxx
+++ b/Source/cmIncludeExternalMSProjectCommand.cxx
@@ -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