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>"
30 boost/functional.hpp \
31 boost/lexical_cast.hpp \
32 boost/noncopyable.hpp \
34 boost/scoped_array.hpp \
35 boost/scoped_ptr.hpp \
36 boost/shared_ptr.hpp \
38 boost/signals/connection.hpp \
39 boost/signals/trackable.hpp \
41 boost/tuple/tuple.hpp \
42 boost/mpl/string.hpp \
44 boost/mpl/size_t.hpp \
45 boost/functional/hash.hpp \
50 find boost -name \*.hpp | xargs rm
51 find libs -name \*.cpp | xargs rm
58 # found by bcp but not needed by us
61 rm -rf libs/signals/build
62 rm -rf libs/regex/build
63 rm -rf libs/regex/test