mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 23:19:58 -06:00
ENH: clean up of INCLUDE_EXTERNAL_MSPROJECT contributed by Clinton Stimpson
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user