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 find_last_day_of_months : <lib>../build/boost_date_time
                  gregorian/find_last_day_of_months.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 : 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  
                ;

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

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

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

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

exe io_tutorial : tutorial/io_tutorial.cpp
                : <include>$(BOOST_ROOT)
                ;

# Copyright (c) 2002-2005
# 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)

