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>"
29 boost/functional.hpp \
30 boost/lexical_cast.hpp \
31 boost/noncopyable.hpp \
33 boost/scoped_array.hpp \
34 boost/scoped_ptr.hpp \
35 boost/shared_ptr.hpp \
37 boost/signals/connection.hpp \
38 boost/signals/trackable.hpp \
39 boost/tuple/tuple.hpp \
40 boost/mpl/string.hpp \
42 boost/mpl/size_t.hpp \
43 boost/functional/hash.hpp \
48 find boost -name \*.hpp | xargs rm
49 find libs -name \*.cpp | xargs rm
56 # found by bcp but not needed by us
59 rm -rf libs/signals/build
60 rm -rf libs/regex/build
61 rm -rf libs/regex/test