Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2004-04-14 (12:30)
From: Cezary Kaliszyk <cek@z...>
Subject: [Caml-list] Intelligent handling of dependencies in complex ocaml projects

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 Archives:
Bug reports: FAQ:
Beginner's list: