Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
224 views
in Technique[技术] by (71.8m points)

c++ - How to find out what dependencies (i.e other Boost libraries) a particular Boost library requires?

For any C++ Boost library, how can one find out which Boost library(ies) it requires ?

Example (not necessary a working example though): Boost library "test" requires Boost library "date_time".

Regards,

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

boost comes with a tool to gather the dependencies of a library.

It is called bcp. If you just want a list of files, you have to use the --list option.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...