Hello,
the following is taken from dwpmake.txt which by the way is hopefully
still present somewhere in the CVS repository:
Commands are executed on a group of files. Management of these
"file-sets" is done by some built-in functions.
"F([group_no,]file_spec1,file_spec2,...)" adds the specified files
into the specified group. Group IDs are integer numbers in range 0-15.
If it's omitted 0 is assumed. Wild cards are naturally allowed. You
might want to have a look at wildc.c for details about our
mask-matching routine. Each file is added only once into each group.
If the first character of a string is # then the files will be added
into the group but they will be skipped when executing commands.
example:
F('#source\rtl\sys\variants.pas','source\rtl\sys\*.pas')
(note the order of the parameters! since the second one includes
variants.pas it must be specified before if we want to use the 'skip'
attribute.)
"C([group_no])" clears the content of the specified group (default is 0).
"gexcl(0)" will turn off the usage of the global exclusion list. This
means that files that were already used in one group can be added to
another or to the same group after clearing it. By default this
setting is on so no file will be processed twice during execution of
the script. "gexcl(1)" will turn it on again.
"exec(groupno,command)" will execute a program using CreateProcess.
If it failed or the exit-code was non-zero dwpmake is aborted. The
"$<" sequence in `command' will be replaced with a filename. If the
first argument is -1 no file group is used and $< substitution will
not be done.
example:
F('*.pas')
exec(0,'dcc32 $<')
Best regards,
Laszlo