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: Marcin 'Qrczak' Kowalczyk <qrczak@k...>
Subject: Re: [Caml-list] Announcing the OMake build system version 0.9.1
"chris.danx" <chris.danx@ntlworld.com> writes:

>> But how does it know it? How to specify that in a different way than
>> for make?
>
> Isn't that information encoded in the source files already?

It's not encoded in an automatically extractable way. For example a
Perl script in my project includes a statement
   open TABLES, ">char-tables.c";
but I don't expect a build tool to understand Perl and deduce that
this script should be run to remake char-tables.c.

And it will not know that sources in one subdirectory should be
compiled using one compiler (the previous version) and sources in
another using another (bootstrapped version of the same compiler).

And it will not know the language of the sources to infer dependencies
from them.

So, how would I specify how files should be processed?

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak@knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/

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