From: "Jérémie Dimino" <jeremie@dimino.org>
To: Francois Berenger <berenger@riken.jp>
Cc: caml-list@yquem.inria.fr, ocaml_beginners@yahoogroups.com
Subject: Re: [Caml-list] Re: OASIS help : adding -pp camlp4of and camlp4.gramlib to the compilation flags
Date: Tue, 17 Jan 2012 09:32:16 +0100 [thread overview]
Message-ID: <1326789136.7483.3.camel@arrakis> (raw)
In-Reply-To: <4F1527BB.1070509@riken.jp>
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
next prev parent reply other threads:[~2012-01-17 8:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-17 2:51 [Caml-list] " Francois Berenger
2012-01-17 7:48 ` [Caml-list] " Francois Berenger
2012-01-17 8:32 ` Jérémie Dimino [this message]
2012-01-17 9:25 ` Francois Berenger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1326789136.7483.3.camel@arrakis \
--to=jeremie@dimino.org \
--cc=berenger@riken.jp \
--cc=caml-list@yquem.inria.fr \
--cc=ocaml_beginners@yahoogroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox