X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=build;h=e45b732526fa674ffe46f2b60550bf09a47734a0;hb=HEAD;hp=ce2a59931d569b7b527bf593dbf2e8194b24ff16;hpb=e4a9d72f66f5fc248afe32ec0340e34c2448623f;p=SXSI%2Fxpathcomp.git diff --git a/build b/build index ce2a599..e45b732 100755 --- a/build +++ b/build @@ -14,16 +14,16 @@ module Cmdline = let verbose = ref "" let jobs = ref 0 let specs = align - [ "-verbose", Unit (set verbose "-verbose 10 -classic-display"), + [ "-verbose", Unit (set verbose " -classic-display"), " Display compilation commands"; - "-debug", Unit (cons tags "-tag debug"), + "-enable-debug", Unit (cons tags "-tag debug"), " Build with debugging code"; - "-profile", Unit (cons tags "-tag profile"), + "-enable-profile", Unit (cons tags "-tag profile"), " Build with profiling code"; - "-trace", Unit (cons tags "-tag trace"), + "-enable-log", Unit (cons tags "-tag log"), " Build with tracing code enabled"; "-byte", Unit (set flavor "byte"), @@ -56,7 +56,7 @@ let tests_targets = [] let () = Cmdline.parse () let cmd_list = let ocamlbuild = - Printf.sprintf "ocamlbuild -byte-plugin %s %s -j %i " + Printf.sprintf "ocamlbuild %s %s -j %i " !Cmdline.verbose (String.concat " " !Cmdline.tags) !Cmdline.jobs in List.map begin function