I'm trying to extract "just what I need" from Boost to reduce the checkin footprint. So far I'm doing the following (On Windows):
bootstrap.bat
b2 tools/bcp
md extract
dist\bin\bcp boost/thread.hpp boost/shared_ptr.hpp boost/enable_shared_from_this.hpp boost/asio.hpp boost/thread/thread.hpp boost/bind.hpp boost/thread/lock_types.hpp boost/thread/condition_variable.hpp .\extract
cd extract
..\b2
but this gives me an error:
boostcpp.jam: No such file or directory
link.jam: No such file or directory
Jamroot:137: in modules.load
ERROR: rule "boostcpp.set-version" unknown in module "Jamfile<C:\temp\boost_1_55_0\extract>".
C:/temp/boost_1_55_0/tools/build/v2/build\project.jam:311: in load-jamfile
C:/temp/boost_1_55_0/tools/build/v2/build\project.jam:64: in load
C:/temp/boost_1_55_0/tools/build/v2/build\project.jam:145: in project.find
C:/temp/boost_1_55_0/tools/build/v2\build-system.jam:535: in load
C:\temp\boost_1_55_0\tools\build\v2/kernel\modules.jam:289: in import
C:\temp\boost_1_55_0\tools\build\v2/kernel/bootstrap.jam:139: in boost-build
C:\temp\boost_1_55_0\boost-build.jam:17: in module scope
What am I doing wrong? What is the correct way to compile the extracted sub-library?
Thanks
Colin