English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Conditional compilation wrt OCaml version?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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:

The example in README should talk to you directly.

Sylvain Le Gall