Subject: | Setting variables from command line |
It would be nice to have the ability to set variables from command line,
like in normal make programs. BSD make and GNU make use the syntax
make ... VARIABLE=VALUE ...
In slaymake, this could set the value of a global variable
$VARIABLE in the perl process. However, the semantical behaviour would
probably be different between classic make and slaymake: setting
variables on the command line in classic makes would overwrite a
setting of the same variable, while the slaymake programmer
has to write
$VARIABLE = "Default value" unless defined $VARIABLE;
for this behaviour.
Regards,
Slaven