From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id CB54BBC57 for ; Fri, 19 Nov 2010 10:00:11 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiMFACPL5UxQW+UMgWdsb2JhbACUV44CFQEBFiIivFWFSwSKWw X-IronPort-AV: E=Sophos;i="4.59,221,1288566000"; d="scan'208";a="80299505" Received: from lo.gmane.org ([80.91.229.12]) by mail2-smtp-roc.national.inria.fr with ESMTP; 19 Nov 2010 10:00:11 +0100 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PJMpB-0007ru-7C for caml-list@inria.fr; Fri, 19 Nov 2010 10:00:05 +0100 Received: from avelizy-155-1-94-54.w90-35.abo.wanadoo.fr ([90.35.89.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Nov 2010 10:00:05 +0100 Received: from sylvain by avelizy-155-1-94-54.w90-35.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Nov 2010 10:00:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Sylvain Le Gall Subject: Re: ocamlbuild and packs Date: Fri, 19 Nov 2010 08:59:48 +0000 (UTC) Message-ID: References: <1290093018.2954.163.camel@saorge.inria.fr> X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: avelizy-155-1-94-54.w90-35.abo.wanadoo.fr User-Agent: slrn/pre1.0.0-18 (Linux) X-Spam: no; 0.00; le-gall:01 'let:01 'let:01 wrote:01 defines:01 defines:01 tree:02 tree:02 library:03 generated:05 inria:06 patterns:10 libraries:11 i've:12 source:12 On 18-11-2010, Thomas Gazagnaire wrote: > Hi all, > > I've got a source tree with the following patterns : > > A/a.ml (defines 'let x = 1') > > B/a.ml (use A.x and defines 'let y = 2') > B/b.ml > B/b.mlpack (contains 'A B') > > C/a.ml (use A.x) > C/b.ml (use B.A.y) > C/c.mlpack (contains 'A B') > > Is there any way with ocamlbuild to build that tree (if possible using > only _tags files, but if not I would be happy to have at least a > solution :-) ? > You can try to start building A/a.mlpack and use the generated library in other libraries. Regards, Sylvain Le Gall