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-sec...
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