Boost logo

Boost :

Subject: [boost] Fwd: build and install boost subset does not install the header files
From: George Georgiev (george.georgiev.sf_at_[hidden])
Date: 2015-11-21 17:10:31


After some digging in the jam files adding headers as target solved the
problem. Is this something new?

---------- Forwarded message ----------
From: George Georgiev <george.georgiev.sf_at_[hidden]>
Date: Sat, Nov 21, 2015 at 12:35 PM
Subject: build and install boost subset does not install the header files
To: boost_at_[hidden]

Hi,

I am trying to use github boost to obtain a subset of the libraries.

I found that using the following subset of modules allows me to build
boost_system.

    git submodule update --init tools/build || exit 1
    git submodule update --init tools/inspect || exit 1
    git submodule update --init libs/assert || exit 1
    git submodule update --init libs/config || exit 1
    git submodule update --init libs/core || exit 1
    git submodule update --init libs/predef || exit 1
    git submodule update --init libs/system || exit 1
    git submodule update --init libs/utility || exit 1

The problem is that ./b2 ... install does not copy the header files. Is
this a bug that I am hitting?

My commands are:

    ./bootstrap.sh --prefix=../../boost --includedir=../../boost/include ||
exit 1

    PATH=$CLANGBIN:$PATH \
        ./b2 \
        toolset=clang \
        cxxflags="-std=c++11 -stdlib=libc++
-isystem/Developer/SDKs/MacOSX10.7.sdk/usr/include" \
        linkflags="-stdlib=libc++" \
        install threading=multi link=static

Thanks,
-g


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk