mirror of
https://github.com/reactos/CMake.git
synced 2025-02-17 18:17:57 +00:00
SOURCE, COMMAND, TARGET are required now
This commit is contained in:
parent
bdf0241d2e
commit
61a66c2645
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user