Boost logo

Boost-Build :

Subject: Re: [Boost-build] Switch between build style.
From: Chambers, Matthew (matt.chambers42_at_[hidden])
Date: 2016-10-17 14:05:20


The <location-prefix> feature in the 'requirements' section of a target will set a different directory in case you don't want to go as far
as creating a custom <feature>. But in this case the custom feature makes more sense IMO.

-Matt

On 10/17/2016 10:24 AM, Paulo Márcio Figueiredo Alves wrote:
>
> To achieve that, I've created a propagated feature cpp11 that accepts on and off, and configured those options with cxxflags, enabling or
> disabling c++11 features.
>
>
> Em Seg, 17 de out de 2016 12:38, alainm <alain.miniussi_at_oca.eu <mailto:alain.miniussi_at_oca.eu>> escreveu:
>
>
> Hi,
>
> I need to be able to switch between C++11 build and old style C++ build.
> Is there an easy way to do that ?
> The object files should be dropped in different directories and b2
> should understand that if the file was not compiled with the same
> option, it should be rebuilt (and that should be propagated to the
> dependencies).
>
> Basically I need something similar to what I would get using 2 different
> build dirs with CMake.
>
> Thanks
>
> --
>
> Alain Miniussi
> Pole Génie Logiciel Scientifique
> Observatoire de la Côte d'Azur
> Blv de l'Observatoire, Nice
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
>
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk