|
Boost Users : |
Subject: Re: [Boost-users] building boost with a specific msvc runtime
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-02-28 17:31:37
AMDG
On 02/27/2013 11:27 AM, Tom K. wrote:
> I'm trying to get a consistent VC++ runtime for distribution, but I
> cannot find anything getting boost/bjam to cooperate.
>
> I have successfully compiled libcurl and UnitTest++ with the method in
> this link.
>
> http://tedwvc.wordpress.com/2009/08/10/avoiding-problems-with-vc2005-sp1-security-update-kb971090/
>
> The idea being that you include a header in each file and then it will
> only have that one runtime dependency.
>
> b2 has options for setting cxxflags, though they do not seem to honor
> my /FI compile option to use the header and force the correct runtime.
> I assume that they are using something else. I suppose boost doesn't
> use the msvc flags.
>
cxxflags ought to work. You can use -d2 to find out
the compiler options that Boost.Build is using.
In Christ,
Steven Watanabe
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net