Re: [Boost-bugs] [Boost C++ Libraries] #7045: Thread library does not automatically compile date_time

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7045: Thread library does not automatically compile date_time
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-17 14:57:12


#7045: Thread library does not automatically compile date_time
-------------------------------+--------------------------------------------
  Reporter: anonymous | Owner: viboes
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.50.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by zhnmju123@…):

 {{{
 Do you have any suggestion on how to make it work?
 }}}
 I had hoped you would know :) I guess its simply realized via the
 {{{
 #pragma comment(lib, "libboost_system-vc110-mt-s-1_50.lib")
 }}}
  technique. And in the thread lib this entry is missing in the
 implementation file.

 Boost calls this feature "automatic library selection" and it's a huge
 boon that simplifies visual studio projects:
 [http://www.boost.org/doc/libs/1_48_0/libs/config/doc/html/boost_config/boost_macro_reference.html#boost_config.boost_macro_reference.macros_for_libraries_with_separate_source_code.automatic_library_selection]

 I don't know how the boost package creation process is defined. Maybe you
 have a component or person responsible for packaging? In this case this
 ticket should be redirected to him.

 The same person might want to also have a look at
 {{{
 bjam toolset=gcc --build-type=complete --with-thread
 }}}
 and make sure whenever the thread library is requested, the chrono library
 is implicitly selected, too, which is required anyway. But his is only a
 nice-to-have.

 Boost "automatic library selection" on the other hand is mandatory for my
 projects:
 I am only compiling boost thread and chrono, for two compilers, visual
 studio 10 and 11 and for two architectures, x86 and x64 and have over a
 *hundred* different library files. You do not want to make me update these
 dependencies in my project file manually, let alone apply all the version
 increments after each boost release.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7045#comment:27>
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:10 UTC