Boost logo

Boost :

Subject: Re: [boost] Boost CMake support - Request for Comment
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2018-10-15 13:35:27


On Mon, Oct 15, 2018 at 8:21 AM Alexander Grund via Boost <
boost_at_[hidden]> wrote:

>
> >> Sorry, but WHY exactly do you need to have the checks from
> >> Boost.Config/Predef in CMake? Do they exist in B2? In which form?
> >> Isn't Boost.Config/Predef a set of headers defining macros for
> >> consumption in source code?
> >
> > A great many Boost libraries use the checks from Boost.Config/Predef
> > in their jamfiles. What do you propose to do when these jamfiles need
> > to be converted for the purposes of using CMake for these libraries ?
>
> What I meant was: I was only aware of a C++ part (header files) of
> Boost.Config/Predef. Can you point me to where those header defines are
> transported into bjam so they can be used by those other libs in their
> jamfiles?
>
> > Providing a CMake equivalent in the Boost.Config and Boost.Predef
> libraries for all the current checks which are offered by those
> libraries, and then using these equivalents by other libraries which
> currently use them
>
> Exactly this would be the proposal. I can comment on possible effort
> when I have seen how it is done in bjam.
>

For Predef <https://github.com/boostorg/predef/tree/develop/tools/check>
with documentation for usage here <
https://www.boost.org/doc/libs/1_68_0/doc/html/predef/check_utilities.html>.

For Config <https://github.com/boostorg/config/tree/develop/checks> and
documentation for that here <
https://www.boost.org/doc/libs/1_68_0/libs/config/doc/html/boost_config/build_config.html
>.

-- 
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net

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