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
print the version number
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-11-02 (13:04)
From: Angela Zhu <angela22.zhu@g...>
Subject: print the version number
Hi,

I found the following code in some OCaml file:

    fprintf ppf "        Objective Caml version %s@.@." Config.version;

But I didn't find any file "Config.*" in the directory.
If I am using SVN to generate version number,
and I have SVN keyword "$Version$" set somewhere.
How can I get the the string and use it in a printf function?

-- 
Thanks,
Angela Zhu
------------------------------------------
Dept. of CS, Rice University
http://www.cs.rice.edu/~yz2/
------------------------------------------