Browse thread
Conditional compilation wrt OCaml version?
[
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: | 2009-01-26 (21:40) |
From: | Sylvain Le Gall <sylvain@l...> |
Subject: | Re: Conditional compilation wrt OCaml version? |
On 26-01-2009, David Rajchenbach-Teller <David.Teller@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