List Info

Thread: external library question




external library question
country flaguser name
Switzerland
2007-06-10 09: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




_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )