Boost logo

Boost-Build :

From: Eric Woodruff (eric.woodruff_at_[hidden])
Date: 2008-04-03 15:43:42


I've started working on an ocaml toolset to be able to use the exe rule
do build ocaml applications. This is fairly straightforward, except
where there are also C source files and libraries defined by other
projects that should be built with gcc on Linux and msvc on Windows.

I am able to say something like:

exe mlapp : [ glob *.ml ] [ glob *.c ] /libs//someclib/<toolset>gcc :
<toolset>ocaml ;

But I haven't yet gotten to the point of building the C code yet. Does
anyone have any advice on the best way to inherit the normal toolset
(gcc or msvc) for the C and libraries? Would this be done where the
generators are registered?



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at