Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Nicolas Cannasse <warplayer@f...>
Subject: Re: [Caml-list] Omake [Was: Building large and portable projects]
From: <sylvain.le-gall@polytechnique.org>
[...]
> 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 makefile.ml 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
them
> 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 X.ml &&
> ocamlc Y.ml && ocamlc Z.ml..."

That's precisely why I wrote OCamake...

> I want ( just as i have posted before ) :
>
> let my_prog = { name = "my_prog";...;toplevels = [ "X.ml" ] }
> 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 caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners