From 61a66c2645cc540cdce801f24567df7a922e24d5 Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Fri, 9 Nov 2001 10:42:16 -0500 Subject: SOURCE, COMMAND, TARGET are required now --- Source/cmAddCustomCommandCommand.cxx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Source/cmAddCustomCommandCommand.cxx b/Source/cmAddCustomCommandCommand.cxx index e30a82e..e9ee41f 100644 --- a/Source/cmAddCustomCommandCommand.cxx +++ b/Source/cmAddCustomCommandCommand.cxx @@ -19,13 +19,9 @@ // cmAddCustomCommandCommand bool cmAddCustomCommandCommand::InitialPass(std::vector const& args) { - /* No control on the number of arguments for now since everything can - 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 + /* 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 - required + required. */ if (args.size() < 6) { -- cgit v0.12