Browse thread
ocamlbuild and installed modules and libraries
-
Daniel_Bünzli
-
Nicolas Pouillard
-
Daniel_Bünzli
-
Romain Bardou
- Daniel_Bünzli
-
Romain Bardou
-
Daniel_Bünzli
-
Nicolas Pouillard
[
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: | Daniel_Bünzli <daniel.buenzli@e...> |
| Subject: | Re: [Caml-list] ocamlbuild and installed modules and libraries |
Le 17 nov. 08 à 10:54, Romain Bardou a écrit : > Isn't it almost as simple to write, in a script: > ocamlbuild -cflags -I,$DEPDIR -lflags -I,$DEPDIR > instead of: > ocamlbuild -I $DEPDIR > Remember that $DEPDIR must be absolute, or relative to the _build > directory. Yes, I can live with that. > And for modules, instead of -lib bla, you write -lflags bla.cmo or - > lflags bla.cmx. You can have several -lflags if you want. > Unfortunately you have to specify the extension, so it is true that > a -mod option would actually add something. That is the point, from my perspective the problem is solved for libraries but not for single modules. Daniel