
Roland Schwarz wrote:
I solve this by giving the bjam option --layout=system for HEAD installs and --layout=versioned for the release branches.
Al tough I was using this , I just discovered that it only worked by accident. What is missing, so this really will work, at least on windows with autolink, is something of a macro BOOST_LAYOUT which complements the Boost.Build --layout= command line option. I would consider this even as a bug since on windows when building with --layout=system the autolink feature is not working at all. BOOST_AUTO_LINK_NOMANGLE is not of help here, since the --layout=system still applies lib prefix and threading and runtime suffixes. In an ideal world, when doing bjam --layout=system install, the header file boost/config/autolink.hpp would be patched with the correct setting of the proposed BOOST_LAYOUT macro. But then --layout=system might not be intended for win32. It should be disabled then for windows? What do you think? Roland