Browse thread
ocamlbuild and packs
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Romain Bardou <Romain.Bardou@l...> |
| Subject: | Re: [Caml-list] ocamlbuild and packs |
> Using -for-pack is a pain. If your project is not too complex, I can advise
> to use your _tags that way:
>
> $ cat _tags
> <bl{a,i}/**/*.ml>: for-pack(Blabli)
> # This is to avoid -I bli
> "bli": include
>
> If you need more precise scoping, plugin is your last option.
I want to pack all the files in bla and bli together anyway, so this
solution would be great; however, now ocamldep gives me an error:
/usr/local/bin/ocamldep.opt: unknown option `-for-pack'.
Btw, wouldn't the line including "bli" result in the same problem as
before, with name clashes between the files in "/bli" and the files in "/"?
I'll investigate and try to add the include option only on the files in
bl{a,i}, using some tags or some plugin.
--
Romain Bardou