Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Intelligent handling of dependencies in complex ocaml projects
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Cezary Kaliszyk <cek@z...>
Subject: [Caml-list] Intelligent handling of dependencies in complex ocaml projects
Hello,

We are developing a complex ocaml project with several modules contained
in different subdirectiories.

Compilation of some some executables in some directories depends on
libraries compiled in other subdirectories.

We'd like to be able to automatically generate cross-directory
dependencies in format expected by Make. 

Ocamldep is insufficient becouse it requires providing all
source files (from all directories) in command line.

Different subprojects depend on different external libraries. These 
libraries may require different linkingflags. Some of them are
contradictory. So I can't call ocamldep like 
  ocamldep `find . -name "*.ml"`
because it requires all those flags together.

Is there any utility which allows doin it automatiacly?

-- 
Cezary Kaliszyk

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