Re: [Caml-list] specify include directories with ocamlbuild

2010-09-02 Thread Hendrik Tews
Nicolas Pouillard writes: Can you try to have the following declaration in your myocamlbuild.ml pflag ["ocaml"] "I" (fun x -> S[A"-I"; A x]) For me pflag ["ocaml"; "compile"] "I" (fun x -> S[A"-I"; A x]) works. Without "compile" ocamlbuild generates incorrect command lines: /usr/local/

Re: [Caml-list] specify include directories with ocamlbuild

2010-08-24 Thread Nicolas Pouillard
On Tue, 24 Aug 2010 09:31:52 +0200, Hendrik Tews wrote: > Hi, Hi, > in 3.11 I used > >: I(+camlp4/Camlp4Parsers) > > in _tags to specify that ocamlbuild should add > -I +camlp4/Camlp4Parsers when compiling some_file. In 3.12 this > gives > > Warning: tag "I" does not expect a parame

[Caml-list] specify include directories with ocamlbuild

2010-08-24 Thread Hendrik Tews
Hi, in 3.11 I used : I(+camlp4/Camlp4Parsers) in _tags to specify that ocamlbuild should add -I +camlp4/Camlp4Parsers when compiling some_file. In 3.12 this gives Warning: tag "I" does not expect a parameter, but is used with parameter "+camlp4/Camlp4Parsers" What is the recommended