ENH: some more cleanup

This commit is contained in:
Ken Martin
2007-03-13 15:18:27 -04:00
parent 5891ba16ce
commit c53b26baf2
8 changed files with 20 additions and 16 deletions
+3 -3
View File
@@ -73,13 +73,13 @@ bool cmAddCustomTargetCommand::InitialPass(
tdoing doing = doing_command;
// Look for the ALL option.
bool all = false;
bool excludeFromAll = true;
unsigned int start = 1;
if(args.size() > 1)
{
if(args[1] == "ALL")
{
all = true;
excludeFromAll = false;
start = 2;
}
}
@@ -160,7 +160,7 @@ bool cmAddCustomTargetCommand::InitialPass(
// Add the utility target to the makefile.
bool escapeOldStyle = !verbatim;
this->Makefile->AddUtilityCommand(args[0].c_str(), all,
this->Makefile->AddUtilityCommand(args[0].c_str(), excludeFromAll,
working_directory.c_str(), depends,
commandLines, escapeOldStyle, comment);