caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Francois Berenger <berenger@riken.jp>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Re: OASIS help : adding -pp camlp4of and camlp4.gramlib to the compilation flags
Date: Tue, 17 Jan 2012 18:25:56 +0900	[thread overview]
Message-ID: <4F153EA4.1000909@riken.jp> (raw)
In-Reply-To: <1326789136.7483.3.camel@arrakis>

On 01/17/2012 05:32 PM, Jérémie Dimino wrote:
> 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.

Thanks a lot! You made my day. :)

      reply	other threads:[~2012-01-17  9:26 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
2012-01-17  9:25     ` Francois Berenger [this message]

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=4F153EA4.1000909@riken.jp \
    --to=berenger@riken.jp \
    --cc=caml-list@inria.fr \
    /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;
as well as URLs for NNTP newsgroup(s).