SOURCE, COMMAND, TARGET are required now

This commit is contained in:
Sebastien Barre 2001-11-09 10:42:16 -05:00
parent bdf0241d2e
commit 61a66c2645
1 changed files with 2 additions and 6 deletions

View File

@ -19,13 +19,9 @@
// cmAddCustomCommandCommand // cmAddCustomCommandCommand
bool cmAddCustomCommandCommand::InitialPass(std::vector<std::string> const& args) bool cmAddCustomCommandCommand::InitialPass(std::vector<std::string> const& args)
{ {
/* No control on the number of arguments for now since everything can /* Let's complain at the end of this function about the lack of a particular
be optional in that implementation. Should be fixed but this command
is so flexible that too much constraint could prevent user to achieve
a particular task.
Let's complain at the end of this function about the lack of a particular
arg. For the moment, let's say that SOURCE, COMMAND, TARGET are always arg. For the moment, let's say that SOURCE, COMMAND, TARGET are always
required required.
*/ */
if (args.size() < 6) if (args.size() < 6)
{ {