[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Romain Bardou <Romain.Bardou@l...> |
| Subject: | Re: [Caml-list] ocambuild, disabling caml rules ? |
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