ENH: Cleaned up signature of cmMakefile::AddUtilityCommand. It is not valid to have an output from a utility rule and no calls to the method asked for an output anyway. The argument has been removed.

This commit is contained in:
Brad King
2006-09-28 13:55:26 -04:00
parent 506dca3990
commit 7d2de52c1a
11 changed files with 17 additions and 43 deletions
+1 -2
View File
@@ -46,10 +46,9 @@ bool cmIncludeExternalMSProjectCommand
utility_name += args[0];
std::string path = args[1];
cmSystemTools::ConvertToUnixSlashes(path);
const char* no_output = 0;
const char* no_working_directory = 0;
this->Makefile->AddUtilityCommand(utility_name.c_str(), true,
no_output, depends,
depends,
no_working_directory,
args[0].c_str(), path.c_str());