Reputation: 452
I built the boost library in order to use the boost functions split and format.
I noticed that the split placed under the algorithm directory, but there is no library named 'algorithm' when I run --show-libraries
to get the list of libraries.
When I built the whole boost, I didn't find which lib file to add to my project (I don't want to add the all the libs and headers).
How can I build this specific library?
Upvotes: 1
Views: 430
Reputation: 1304
Both boost::algorithm and boost::format are header only, so no need to build. You will find both header files inside the include/boost/ folder:
Upvotes: 1
Reputation: 2715
When running bootstrap with --show-libraries:
The Boost libraries requiring separate building and installation are:
The algorithm library isn't listed and is even template for the STL equivalent -> header-only.
Upvotes: 1