caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Francois BERENGER <francois.berenger@inria.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] OASIS help
Date: Thu, 10 Nov 2016 10:27:18 +0100	[thread overview]
Message-ID: <3195f89c-0920-f844-ff1f-dec7cb0c2814@inria.fr> (raw)
In-Reply-To: <4912b1d7-c491-9462-2220-c08492d1833d@inria.fr>

On 11/10/2016 10:08 AM, Laurent Thévenoux wrote:
> Hello,
> 
> I’m trying to use OASIS to configure a project written in OCaml. I currently use a Makefile which works fine but doesn’t allow enough possibilities. My project uses the menhir parser but OASIS attempts to use ocamlyacc. 
> 
> How can I specify that I need to run ocamlbuild with -use-menhir instead of ocamlyacc ?

Put a BUILFLAGS line as the first line of your Makefile:

---
BUILDFLAGS = " -use-menhir "
# OASIS_START
[...]
---

This part of the Makefile will be kept by oasis.

-- 
Regards,
Francois.
"When in doubt, use more types"

       reply	other threads:[~2016-11-10  9:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4912b1d7-c491-9462-2220-c08492d1833d@inria.fr>
2016-11-10  9:27 ` Francois BERENGER [this message]
2016-11-10  9:49   ` Laurent Thévenoux
2016-11-10  9:52     ` Francois BERENGER
2016-11-11 10:52       ` Bikal Gurung
2016-11-10  9:08 Laurent Thévenoux
  -- strict thread matches above, loose matches on Subject: below --
2015-02-10 12:58 [Caml-list] oasis help Jiten Pathy
2015-02-10 13:19 ` Jeremie Dimino
2015-02-10 14:07   ` Jiten Pathy
2013-11-06 16:09 [Caml-list] OASIS help Robert Soulé
2013-11-10 21:08 ` Sylvain Le Gall

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=3195f89c-0920-f844-ff1f-dec7cb0c2814@inria.fr \
    --to=francois.berenger@inria.fr \
    --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).