Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Martin DeMello <martindemello@gmail.com>
To: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: [Caml-list] How do I set up multiple source directories in oasis?
Date: Fri, 23 Dec 2016 21:21:52 -0800	[thread overview]
Message-ID: <CAFrFfuEC-Dstk0XRVHSM9Arn0AWHT3zVyayAYHNGs9wqiTQwQw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 729 bytes --]

this is my project tree:

├── src
│   ├── frontend
│   └── plugins
│       ├── aclite
│       └── json

I have a library, src/converter.ml that depends on src/plugins/* which I
have set up via

INCLUDES=-I src -I src/plugins/aclite -I src/plugins/json

ocamlbuild -use-ocamlfind $(INCLUDES) ....

I'm trying to convert it over to using oasis via source_patterns, but this
doesn't seem to be working

  Path: src/
  InterfacePatterns: .,plugins/aclite,plugins/json
  ImplementationPatterns: .,plugins/aclite,plugins/json

am I doing it wrong or is that not the problem source_patterns is meant to
solve? I couldn't find any documentation or examples for it.

martin

[-- Attachment #2: Type: text/html, Size: 1441 bytes --]

                 reply	other threads:[~2016-12-24  5:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAFrFfuEC-Dstk0XRVHSM9Arn0AWHT3zVyayAYHNGs9wqiTQwQw@mail.gmail.com \
    --to=martindemello@gmail.com \
    --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