SCDoc: Use proper static string constants instead of comparing string literals.
[supercollider.git] / external_libraries / extract_boost.sh
blob3d1672f6200b8c51fbece0b175ae66a227c31e6d
1 #!/bin/sh
2 # shell script to extract subset of boost
4 # run from the root of the supercollider repository
6 # required argument: root of the boost source tree
8 BOOST_ROOT=$1
10 bcp --boost=${BOOST_ROOT} \
11 --scan common/*pp \
12 --scan lang/*/*pp \
13 --scan server/supernova/*/*pp \
14 --scan editors/sc-ide/*/*pp \
15 --scan editors/sc-ide/*/*/*pp \
16 --scan external_libraries/boost*/*/*pp \
17 --scan external_libraries/boost*/*/*/*pp \
18 --scan external_libraries/boost*/*/*/*/*pp \
19 --scan external_libraries/threadpool/boost/*/*pp \
20 --scan external_libraries/threadpool/boost/*/*/*pp \
21 --scan testsuite/supernova/*pp \
22 external_libraries/boost
24 # nor do we need tests and the bjam build files
25 rm -rf external_libraries/boost/Jamroot
26 rm -rf external_libraries/boost/libs/*/build
27 rm -rf external_libraries/boost/libs/*/test