Jamfile.v2 759 Bytes
# Boost Timer Library Build Jamfile

# (C) Copyright Beman Dawes 2002, 2006, 2011

# Distributed under the Boost Software License, Version 1.0.
# See www.boost.org/LICENSE_1_0.txt

# See library home page at http://www.boost.org/libs/timer

project boost/timer
    : source-location ../src
    : requirements
      <library>/boost/chrono//boost_chrono
    : usage-requirements  # pass these requirement to dependants (i.e. users)
      <link>shared:<define>BOOST_TIMER_DYN_LINK=1
      <link>static:<define>BOOST_TIMER_STATIC_LINK=1
    ;

SOURCES = auto_timers_construction cpu_timer ;

lib boost_timer
   : $(SOURCES).cpp
   : <link>shared:<define>BOOST_TIMER_DYN_LINK=1
     <link>static:<define>BOOST_TIMER_STATIC_LINK=1
   ;

boost-install boost_timer ;