From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 614EEBC6B for ; Sun, 30 Sep 2007 23:52:01 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAADK2/0bAXQInemdsb2JhbACOMQEBCQo X-IronPort-AV: E=Sophos;i="4.21,213,1188770400"; d="scan'208";a="3518263" Received: from concorde.inria.fr ([192.93.2.39]) by mail3-smtp-sop.national.inria.fr with ESMTP; 30 Sep 2007 23:52:01 +0200 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l8ULpw6M020990 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Sun, 30 Sep 2007 23:52:00 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAADK2/0bDuhJCn2dsb2JhbACOMQEBAQEHBAYHCBg X-IronPort-AV: E=Sophos;i="4.21,213,1188770400"; d="scan'208";a="3518262" Received: from mail21.bluewin.ch ([195.186.18.66]) by mail3-smtp-sop.national.inria.fr with ESMTP; 30 Sep 2007 23:51:58 +0200 Received: from [192.168.1.58] (85.2.46.248) by mail21.bluewin.ch (Bluewin 7.3.121) id 46F380C50027C365 for caml-list@inria.fr; Sun, 30 Sep 2007 21:51:57 +0000 Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <23D3A6CC-0AE4-40A6-8626-4600C0EEE7C0@epfl.ch> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: caml-list List From: =?ISO-8859-1?Q?Daniel_B=FCnzli?= Subject: ocamlbuild and c libs Date: Sun, 30 Sep 2007 23:52:03 +0200 X-Mailer: Apple Mail (2.752.2) X-Miltered: at concorde with ID 47001A7E.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; bunzli:01 buenzli:01 libs:01 flags:01 deps:01 bindings:01 flags:01 toplevel:01 toplevel:01 environement:01 define:02 modules:02 epfl:02 underscore:02 external:03 Hello (Nicolas), Is it possible to specify build flags and deps in a compositional way ? That is I have C bindings in a libdip/ dir, I would like to specify the additional flags and dep there, not in the toplevel myocamlbuild.ml. I tried to make the toplevel plugin refer to external modules but it seems to be compiled in a restricted environement. I also tried to define a myocamlbuild.ml in libdip/ but it seems to be ignored. Is there something like a plugin hierarchy as with the _tag files ? Best, Daniel P.S. By the way I couldn't find it in the documentation but ocamlbuild ignores any directory starting with an underscore even if you include it explictly with a tag, is that right ?