summaryrefslogtreecommitdiff
path: root/Source/cmAddCustomCommandCommand.cxx
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2001-11-09 10:42:16 -0500
committerSebastien Barre <sebastien.barre@kitware.com>2001-11-09 10:42:16 -0500
commit61a66c2645cc540cdce801f24567df7a922e24d5 (patch)
tree00d6bb23e1468ca5d3ee3254d22d91996770c9d6 /Source/cmAddCustomCommandCommand.cxx
parentbdf0241d2e571c3a111e84852186fb3b177bd121 (diff)
downloadcmake-61a66c2645cc540cdce801f24567df7a922e24d5.tar.gz
SOURCE, COMMAND, TARGET are required now
Diffstat (limited to 'Source/cmAddCustomCommandCommand.cxx')
-rw-r--r--Source/cmAddCustomCommandCommand.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/cmAddCustomCommandCommand.cxx b/Source/cmAddCustomCommandCommand.cxx
index e30a82ee9c..e9ee41fab7 100644
--- a/Source/cmAddCustomCommandCommand.cxx
+++ b/Source/cmAddCustomCommandCommand.cxx
@@ -19,13 +19,9 @@
// cmAddCustomCommandCommand
bool cmAddCustomCommandCommand::InitialPass(std::vector<std::string> 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)
{