Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Building large and portable projects
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-11-22 (01:32)
From: Nicolas Cannasse <warplayer@f...>
Subject: Re: [Caml-list] Omake [Was: Building large and portable projects]
From: <>
> Well i think it is very powerfull and very interesting... But ( there is
> always a but ), i am looking for something between your very complete
> suite and ocamake which is light and permits to do fast job for ocaml
> stuff.
> I know, i will run into problem if not targeting all people... But, i
> cannot choose all options. I want something enough powerfull to build
> little to medium ocaml project -- with some C binding. I don't want to
> rebuild make. The ideal project ( in size ) will be cameleon ( fully
> written in ocaml ) or mldonkey ( mostly ocaml with some C ). I don't
> really want to be able to compile C, python, Ada...
> I want to use some kind of ocaml script ( let say which will
> contain the instruction to build, explains the dependency etc ) to
> enable user to be fully consistent with their project ( they learn ocaml
> and not makefile syntax ). I think it should be necessary to have a
> plugin system ( through dynlink or topfind, don't know yet ) to enable
> to develop their own set of rules ( if they want to compile specific
> things ).

I definitly thinks that such a thing could use OCamake. As I told before,
adding C bindings compilation might be easy but require some fixes. For
other operations (file rename, copy, auto install, etc... ) we can provide
them in another module. I agree to work on that with you if you want (french
language will help ^^).

> Just to give you an example, all the student i know have problem using
> makefile because they don't want to spend two hours understanding this
> big script... So they simply don't use it... How many times i have seen
> one-file-project without makefile, or people using "ocamlc &&
> ocamlc && ocamlc"

That's precisely why I wrote OCamake...

> I want ( just as i have posted before ) :
> let my_prog = { name = "my_prog";...;toplevels = [ "" ] }
> in
> add_target my_prog
> and that's all. And i want to be able to do it on linux or win without
> being needed to do if Win32 then ... else ... ( every time you write if
> ... else ..., it is a possible infinite source of error ).

Of course :)

Nicolas Cannasse

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: