subproject libs/date_time/example ;

local DATE_TIME_PROPERTIES = <define>BOOST_DATE_TIME_STATIC_LINK ;


exe dates_as_strings : <lib>../build/boost_date_time
                    gregorian/dates_as_strings.cpp
                  : <include>$(BOOST_ROOT) $(DATE_TIME_PROPERTIES)  
                  ;

exe days_alive : <lib>../build/boost_date_time
                  gregorian/days_alive.cpp
                : <include>$(BOOST_ROOT) $(DATE_TIME_PROPERTIES) 
                ;

exe days_till_new_year : <lib>../build/boost_date_time
                  gregorian/days_till_new_year.cpp
                : <include>$(BOOST_ROOT) $(DATE_TIME_PROPERTIES) 
                ;

exe days_between_new_years : <lib>../build/boost_date_time
                  gregorian/days_between_new_years.cpp
                : <include>$(BOOST_ROOT) $(DATE_TIME_PROPERTIES) 
                ;

exe end_of_month_day : <lib>../build/boost_date_time
                  gregorian/end_of_month_day.cpp
                : <include>$(BOOST_ROOT) $(DATE_TIME_PROPERTIES) 
                ;

exe month_add : <lib>../build/boost_date_time
                  gregorian/month_add.cpp
                : <include>$(BOOST_ROOT) $(DATE_TIME_PROPERTIES) 
                ;

exe localization : <lib>../build/boost_date_time
                  gregorian/localization.cpp
                : <include>$(BOOST_ROOT) $(DATE_TIME_PROPERTIES) 
                ;

exe print_holidays : <lib>../build/boost_date_time
                  gregorian/print_holidays.cpp
                : <include>$(BOOST_ROOT) $(DATE_TIME_PROPERTIES) 
                ;

exe print_month : <lib>../build/boost_date_time
                  gregorian/print_month.cpp
                : <include>$(BOOST_ROOT) $(DATE_TIME_PROPERTIES) 
                ;

exe period_calc : <lib>../build/boost_date_time
                  gregorian/period_calc.cpp
                : <include>$(BOOST_ROOT) $(DATE_TIME_PROPERTIES) 
                ;

exe days_since_year_start : <lib>../build/boost_date_time
                  gregorian/days_since_year_start.cpp
                : <include>$(BOOST_ROOT) $(DATE_TIME_PROPERTIES) 
                ;

exe local_utc_conversion : <lib>../build/boost_date_time
                  posix_time/local_utc_conversion.cpp
                : <include>$(BOOST_ROOT) $(DATE_TIME_PROPERTIES) <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG  
                ;

exe print_hours : <lib>../build/boost_date_time
                  posix_time/print_hours.cpp
                : <include>$(BOOST_ROOT) $(DATE_TIME_PROPERTIES) <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG  
                ;

exe time_math : <lib>../build/boost_date_time
                  posix_time/time_math.cpp
                : <include>$(BOOST_ROOT) $(DATE_TIME_PROPERTIES) <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG  
                ;

exe time_periods : <lib>../build/boost_date_time
                  posix_time/time_periods.cpp
                : <include>$(BOOST_ROOT) $(DATE_TIME_PROPERTIES) <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG  
                ;

# Copyright (c) 2002-2004
# CrystalClear Software, Inc.
# Subject to the Boost Software License, Version 1.0. 
# (See accompanying file LICENSE-1.0 or 
# http://www.boost.org/LICENSE-1.0)

