Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70756 - trunk/libs/date_time/example
From: juergen.hunold_at_[hidden]
Date: 2011-03-30 15:25:09


Author: jhunold
Date: 2011-03-30 15:25:08 EDT (Wed, 30 Mar 2011)
New Revision: 70756
URL: http://svn.boost.org/trac/boost/changeset/70756

Log:
convert to Boost.Build V2

Text files modified:
   trunk/libs/date_time/example/Jamfile | 119 ++++++++++-----------------------------
   1 files changed, 30 insertions(+), 89 deletions(-)

Modified: trunk/libs/date_time/example/Jamfile
==============================================================================
--- trunk/libs/date_time/example/Jamfile (original)
+++ trunk/libs/date_time/example/Jamfile 2011-03-30 15:25:08 EDT (Wed, 30 Mar 2011)
@@ -1,105 +1,46 @@
-subproject libs/date_time/example ;
+project libs/date_time/example
+ : requirements
+ <link>static:<define>BOOST_DATE_TIME_STATIC_LINK
+ <library>../build//boost_date_time
+ ;
 
-local DATE_TIME_PROPERTIES = <define>BOOST_DATE_TIME_STATIC_LINK ;
+exe dates_as_strings : gregorian/dates_as_strings.cpp ;
+exe days_alive : gregorian/days_alive.cpp ;
+exe days_till_new_year : gregorian/days_till_new_year.cpp ;
 
+exe days_between_new_years : gregorian/days_between_new_years.cpp ;
+exe find_last_day_of_months : gregorian/find_last_day_of_months.cpp ;
 
-exe dates_as_strings : <lib>../build/boost_date_time
- gregorian/dates_as_strings.cpp
- : <include>$(BOOST_ROOT) $(DATE_TIME_PROPERTIES)
- ;
+exe month_add : gregorian/month_add.cpp ;
 
-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 localization : gregorian/localization.cpp ;
+exe print_holidays : gregorian/print_holidays.cpp ;
+exe print_month : gregorian/print_month.cpp ;
+exe period_calc : gregorian/period_calc.cpp ;
 
-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 days_since_year_start : gregorian/days_since_year_start.cpp ;
 
-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 local_utc_conversion : posix_time/local_utc_conversion.cpp
+ : <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 print_hours : posix_time/print_hours.cpp
+ : <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG
                 ;
 
-exe calc_rules : <lib>../build/boost_date_time
- local_time/calc_rules.cpp
- : <include>$(BOOST_ROOT) $(DATE_TIME_PROPERTIES)
+exe time_math : posix_time/time_math.cpp
+ : <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG
                 ;
 
-exe seconds_since_epoch : <lib>../build/boost_date_time
- local_time/seconds_since_epoch.cpp
- : <include>$(BOOST_ROOT) $(DATE_TIME_PROPERTIES)
- ;
+exe time_periods : posix_time/time_periods.cpp
+ : <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG
+ ;
 
-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)
- ;
+exe simple_time_zone : local_time/simple_time_zone.cpp ;
+exe calc_rules : local_time/calc_rules.cpp ;
+exe seconds_since_epoch : local_time/seconds_since_epoch.cpp ;
+exe flight : local_time/flight.cpp ;
+exe io_tutorial : tutorial/io_tutorial.cpp ;
 
 # Copyright (c) 2002-2005
 # CrystalClear Software, Inc.


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