4 # Script to extract only needed boost files using the bcp tool:
6 # http://www.boost.org/doc/libs/1_47_0/tools/bcp/doc/html/index.html
8 # Does also work with an outdated bcp version
10 # Usage: extract.sh <path to new boost version>
15 echo "Usage: extract.sh <path to new boost version>"
27 boost/lexical_cast.hpp \
30 boost/signals/connection.hpp \
31 boost/signals/trackable.hpp \
32 boost/tuple/tuple.hpp \
37 # work around bcp pulling in too much:
38 rm -rf needed/boost/typeof
40 # we do not use the provided MSVC project files
41 find needed -name '*.vcpro*' | xargs rm
43 find boost -name \*.hpp | xargs rm
44 find libs -name \*.cpp | xargs rm
51 # found by bcp but not needed by us
54 rm -rf libs/signals/build
55 rm -rf libs/regex/build
56 rm -rf libs/regex/test