* ocambuild, disabling caml rules ?
@ 2009-02-20 14:11 Daniel Bünzli
2009-02-20 15:43 ` [Caml-list] " Romain Bardou
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Bünzli @ 2009-02-20 14:11 UTC (permalink / raw)
To: OCaml List
Is it possible to disable the default rules ?
I'm using ocamlbuild for a plain C project with my own rules and it is
painfull when something fails that it fallbacks on ocaml C's
compilation rules. These rules wil anyway fail and they override the
error that occured with my rule that should have been used.
Best,
Daniel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Caml-list] ocambuild, disabling caml rules ?
2009-02-20 14:11 ocambuild, disabling caml rules ? Daniel Bünzli
@ 2009-02-20 15:43 ` Romain Bardou
0 siblings, 0 replies; 2+ messages in thread
From: Romain Bardou @ 2009-02-20 15:43 UTC (permalink / raw)
To: Daniel Bünzli; +Cc: OCaml List
Daniel Bünzli a écrit :
> Is it possible to disable the default rules ?
>
> I'm using ocamlbuild for a plain C project with my own rules and it is
> painfull when something fails that it fallbacks on ocaml C's compilation
> rules. These rules wil anyway fail and they override the error that
> occured with my rule that should have been used.
I don't think there is any. In fact, the rules are hard-coded in the
source code (in ocaml_specific.ml) like this :
rule "ocaml: ml -> d.cmo & cmi" ...;;
rule "ocaml: ml -> cmo & cmi" ...;;
So there is no test, they are always ran. And there is no way to delete
a rule AFAIK.
--
Romain Bardou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-20 15:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-20 14:11 ocambuild, disabling caml rules ? Daniel Bünzli
2009-02-20 15:43 ` [Caml-list] " Romain Bardou
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox