Mercurial > hg > orthanc
view Resources/CMake/BoostConfiguration.sh @ 1378:5dabfaf6034b
forgotten file
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 29 May 2015 11:57:53 +0200 |
parents | a6576b478553 |
children | 0631b56c35eb |
line wrap: on
line source
#!/bin/bash set -e set -u ## Starting with version 0.6.2, Orthanc is shipped with a subset of the ## Boost libraries that is generated with the BCP tool: ## ## http://www.boost.org/doc/libs/1_54_0/tools/bcp/doc/html/index.html ## ## This script generates this subset. ## ## History: ## - Orthanc between 0.6.2 and 0.7.3: Boost 1.54.0 ## - Orthanc above 0.7.4: Boost 1.55.0 rm -rf /tmp/boost_1_55_0 rm -rf /tmp/bcp/boost_1_55_0 cd /tmp echo "Uncompressing the source of Boost 1.55.0..." tar xfz boost_1_55_0.tar.gz echo "Generating the subset..." mkdir -p /tmp/bcp/boost_1_55_0 bcp --boost=/tmp/boost_1_55_0 thread system locale date_time filesystem math/special_functions algorithm uuid /tmp/bcp/boost_1_55_0 cd /tmp/bcp echo "Compressing the subset..." tar cfz boost_1_55_0_bcpdigest-0.7.4.tar.gz boost_1_55_0 ls -l boost_1_55_0_bcpdigest-0.7.4.tar.gz md5sum boost_1_55_0_bcpdigest-0.7.4.tar.gz readlink -f boost_1_55_0_bcpdigest-0.7.4.tar.gz