Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76581 - trunk/libs/thread/build
From: vicente.botet_at_[hidden]
Date: 2012-01-18 16:07:14


Author: viboes
Date: 2012-01-18 16:07:13 EST (Wed, 18 Jan 2012)
New Revision: 76581
URL: http://svn.boost.org/trac/boost/changeset/76581

Log:
Thread: avoid the use of Boost.Chrono for vacpp toolset
Text files modified:
   trunk/libs/thread/build/Jamfile.v2 | 21 +++++++++++++++++++--
   1 files changed, 19 insertions(+), 2 deletions(-)

Modified: trunk/libs/thread/build/Jamfile.v2
==============================================================================
--- trunk/libs/thread/build/Jamfile.v2 (original)
+++ trunk/libs/thread/build/Jamfile.v2 2012-01-18 16:07:13 EST (Wed, 18 Jan 2012)
@@ -45,7 +45,6 @@
       <tag>@$(__name__).tag
       <toolset>gcc:<cxxflags>-Wno-long-long
       <define>BOOST_SYSTEM_NO_DEPRECATED
- <library>/boost/chrono//boost_chrono
       <library>/boost/system//boost_system
 
     # : default-build <threading>multi
@@ -53,7 +52,6 @@
       <link>static:<define>BOOST_THREAD_BUILD_LIB=1
       <link>shared:<define>BOOST_THREAD_BUILD_DLL=1
       <define>BOOST_SYSTEM_NO_DEPRECATED
- <library>/boost/chrono//boost_chrono
       <library>/boost/system//boost_system
     ;
 
@@ -162,6 +160,16 @@
             # in that case?
         }
     }
+
+ if <toolset>vacpp in $(properties)
+ {
+ result += <define>BOOST_THREAD_DONT_USE_CHRONO ;
+ }
+ else
+ {
+ result += <library>/boost/chrono//boost_chrono ;
+ }
+
     return $(result) ;
 }
 
@@ -185,6 +193,15 @@
             }
         }
     }
+ if <toolset>vacpp in $(properties)
+ {
+ result += <define>BOOST_THREAD_DONT_USE_CHRONO ;
+ }
+ else
+ {
+ result += <library>/boost/chrono//boost_chrono ;
+ }
+
     return $(result) ;
 }
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk