Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Announcing the OMake build system version 0.9.1
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] Announcing the OMake build system version 0.9.1
On Mon, 2004-09-06 at 01:01, Marcin 'Qrczak' Kowalczyk wrote:
> "chris.danx" <chris.danx@ntlworld.com> writes:
> 
> >> Rebuild what? Everything? It's not an option. When I repeatedly make
> >> a change in one file and try how it works, it would be silly to wait
> >> several minutes for recompilation of everything else.
> >
> > Only what needs to be rebuilt!
> 
> But how does it know it? How to specify that in a different way than
> for make?

I could suggest some, but first: you could use the same
way as for make.

However your dependency specification is treated like
an optimisation. So if you say:

	A depends on B

it means 'A depends on B and some other things' rather than
'A depends only on B'.

This allows you to take a random ordering and adjust it
so B comes before A. The more hints you give,
the more efficient the build. But it will (usually)
converge (or fail to converge) independently of the
ordering.

Obviously one would like something less brain dead
than specifying dependencies file by file -- like

	*.c -> *.o

in make. Or perhaps 'ocamldep' for Ocaml :)

-- 
John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net



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