blob: 92c274e0215e9f316844a2cac358444af6e24f9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/bin/sh
set -e
ME=`basename $0`
DIR="$( cd "$( dirname "$0" )" && pwd )"
CWD=`pwd`
BOOST_DIR=$1
if [ ! -d "$BOOST_DIR" ] || [ ! -x "$BOOST_DIR" ]; then
echo "First argument is supposed to be the path to the boost source code"
exit
fi
cd $BOOST_DIR
./bootstrap.sh
./b2 tools/bcp
cd ${DIR}
SOURCE_FILES=`find ${DIR}/../../src/ -name \*.h -print -o -name \*.cpp -print`
${BOOST_DIR}/dist/bin/bcp \
--boost=${BOOST_DIR} \
--scan ${SOURCE_FILES} \
${DIR}/../src
# rm -rf ${DIR}/../prebuilt/include/libs
|