Re: [Boost-bugs] [Boost C++ Libraries] #6442: Let the user work with a header-only library

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6442: Let the user work with a header-only library
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-23 23:47:11


#6442: Let the user work with a header-only library
-------------------------------+--------------------------------------------
  Reporter: viboes | Owner: bemandawes
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: system
   Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by viboes):

 Next follows a patch. The user need to define BOOST_SYSTEM_INLINED to have
 a header-only lib. By default the windows files are taken from
 boost/detail/win32. The user needs to define BOOST_USE_WINDOWS_H if he has
 a preference for the windows files.

 I have tested it for Boost.System, Boost.Chrono and Boost.Thread on cygwin
 gcc-4.3.4 and mingw gcc-4.6.1 (and c++0x) and msvc 10. Boost Chrono uses
 it as a header only, Boost.Thread as a linked library. I will continue the
 test with other Boost libraries.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6442#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC