On 26-01-2009, David Rajchenbach-Teller <david.tel...@ens-lyon.org> wrote: > Dear list, > > Working on Batteries, we're faced with a few places where we'd like to > perform conditional compilation depending on the version of OCaml being > used. We could probably do this with Camlp4, cpp, Autoconf hackery, etc. > -- but first, we need to decide on which of these options we'll adopt. > > Any suggestion? >
There is optcomp: https://forge.ocamlcore.org/projects/optcomp/ http://darcs.ocamlcore.org/repos/optcomp/optcomp/README The example in README should talk to you directly. Regards, Sylvain Le Gall _______________________________________________ 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