Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2003-10-12 18:21:40 -0700 (Sun, 12 Oct 2003)
Revision: 186
Log message:
OMakefile options are now handled functionally, and scoped just
like variables. For example, suppose you want to turn off the progress
bar for the duration of a rule. This code would do it, and the option
would only be disabled when this rule is evaluated.
if true
OMakeOptions(--no-progress)
target: deps
commands
This is certainly cleaner semantically, but it is also a little of
an overkill for the problem of the progress bar messing with the
output of commands.
I fixed that in a different way, by displaying the progress bar
only *after* a command is finished.