Hi

I'm trying to build a project using ocamlbuild with ocamlfind. One submodule requires 'json-static' and another requires 'bitstring.syntax'. The preprocessors requires different syntaxes, resulting in the following error:

ocamlfind: No unique value for the META variable 'preprocessor': package camlp4 defines `camlp4', package bitstring.syntax defines `camlp4of'

Is there a way to make a myocamlbuild.ml file to select the preprocessor to use on a submodule/file basis?


On a similar topic: Is it possible to tell ocamlbuild to use another file than myocamlbuild.ml for additional build instructions? At the moment I have a makefile that changes links to different files, but I'm not happy too with this method.

Thanks

Hans Ole

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to