summaryrefslogtreecommitdiffstats
path: root/Source/cmAddCustomCommandCommand.cxx
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2001-11-09 15:42:16 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2001-11-09 15:42:16 (GMT)
commit61a66c2645cc540cdce801f24567df7a922e24d5 (patch)
tree00d6bb23e1468ca5d3ee3254d22d91996770c9d6 /Source/cmAddCustomCommandCommand.cxx
parentbdf0241d2e571c3a111e84852186fb3b177bd121 (diff)
downloadCMake-61a66c2645cc540cdce801f24567df7a922e24d5.zip
CMake-61a66c2645cc540cdce801f24567df7a922e24d5.tar.gz
CMake-61a66c2645cc540cdce801f24567df7a922e24d5.tar.bz2
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 e30a82e..e9ee41f 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)
{