From: Gabriel Scherer <gabriel.scherer@gmail.com>
To: Olaf Hering <olaf@aepfle.de>
Cc: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] How to provide additional options for cppo in oasis?
Date: Fri, 19 May 2017 16:43:11 +0200 [thread overview]
Message-ID: <CAPFanBFK6-Qz3Do2dfOhMEQWu3NWH-DJUbq6iVL+3__DCiPM4Q@mail.gmail.com> (raw)
In-Reply-To: <20170519063227.GA24482@aepfle.de>
The look like ocamlbuild flags that you can pass explicitly in your
_tags file (outside the oasis-controlled zone), or through oasis using
the XOCamlbuildExtraArgs field (you may also need to use
XOCamlbuildPluginTags to enable the cppo plugin):
http://oasis.forge.ocamlcore.org/MANUAL.html#plugin-ocamlbuild-doc-build
I would expect something like
XOCamlbuildPluginTags: package(cppo_ocamlbuild)
XOCamlbuildExtraArgs: -tag 'cppo_D(FOO)'
On Fri, May 19, 2017 at 8:32 AM, Olaf Hering <olaf@aepfle.de> wrote:
> How can an _oasis file pass additional options to cppo?
> The documentation of cppo says in its Ocamlbuild section:
>
> "The following tags are available: cppo_D(X) ≡ '-D X'"
>
> Where are such tags supposed to be?
> For extlib I just created a wrapper as a workaround, which calls cppo
> with the required options.
>
> Olaf
prev parent reply other threads:[~2017-05-19 14:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-19 6:32 Olaf Hering
2017-05-19 14:43 ` Gabriel Scherer [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=CAPFanBFK6-Qz3Do2dfOhMEQWu3NWH-DJUbq6iVL+3__DCiPM4Q@mail.gmail.com \
--to=gabriel.scherer@gmail.com \
--cc=caml-list@inria.fr \
--cc=olaf@aepfle.de \
/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