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.
      

Changes  Path
+3 -0 omake/Files
+111 -91 omake/src/build/omake_build.ml
+2 -1 omake/src/build/omake_build.mli
+1 -11 omake/src/build/omake_builtin.ml
+24 -2 omake/src/env/omake_env.ml
+7 -1 omake/src/env/omake_env.mli
+18 -17 omake/src/exec/omake_exec.ml
+8 -7 omake/src/exec/omake_exec_local.ml
+10 -9 omake/src/exec/omake_exec_print.ml
+3 -1 omake/src/exec/omake_exec_print.mli
+16 -15 omake/src/exec/omake_exec_remote.ml
+2 -1 omake/src/exec/omake_exec_remote.mli
+6 -4 omake/src/exec/omake_exec_type.ml
Added omake/src/ir/omake_options_type.ml
Properties omake/src/ir/omake_options_type.ml
+53 -67 omake/src/ir/omake_state.ml
+20 -17 omake/src/main/omake_main.ml