|
Boost-Build : |
From: Matthias Troyer (troyer_at_[hidden])
Date: 2007-06-10 10:27:21
Hi,
I have a question about linking external libraries. For example, for
the HDF5 library we need to link two libraries: hdf5_cpp and hdf5.
Is there a better way then just declaring two library targets as in:
lib hdf5
:
: <name>hdf5 <search>/path/lib
:
: <include>/path/include
;
lib hdf5cpp
:
: <name>hdf5_cpp <search>/path/lib <use>hdf5
:
: <include>/path/include
;
Also, what is the best way to specify the path to the library as an
argument? Are there any examples?
Matthias
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk