Le mardi 17 janvier 2012 à 16:48 +0900, Francois Berenger a écrit :
> In fact, now I only need to use cppo to preprocess my source files.
> So the updated command is:
> ocamlfind ocamlopt -package batteries -linkpkg -o test_logger -annot -g 
> -pp cppo   logger.ml test_logger.ml
> 
> How do I request oasis to preprocess all files using cppo?

You must modify the _tags file. You can add this line (outside
OASIS_START/OASIS_STOP):

  <**/*.ml>: pp(cppo)

you may also want to add:

  BuildTools: cppo

to your _oasis file so oasis will check for cppo.

Cheers,

-- 
Jérémie



-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to