Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58325 - in sandbox/chrono/libs/chrono: build test
From: vicente.botet_at_[hidden]
Date: 2009-12-12 07:13:14


Author: viboes
Date: 2009-12-12 07:13:14 EST (Sat, 12 Dec 2009)
New Revision: 58325
URL: http://svn.boost.org/trac/boost/changeset/58325

Log:
Boost.Chrono: Version 0.2.6
* Update Jamfiles to manage with dll in a quasy-portable way

Text files modified:
   sandbox/chrono/libs/chrono/build/Jamfile.v2 | 17 +++++-----
   sandbox/chrono/libs/chrono/test/Jamfile.v2 | 61 +++++++++++++++++++++++----------------
   2 files changed, 45 insertions(+), 33 deletions(-)

Modified: sandbox/chrono/libs/chrono/build/Jamfile.v2
==============================================================================
--- sandbox/chrono/libs/chrono/build/Jamfile.v2 (original)
+++ sandbox/chrono/libs/chrono/build/Jamfile.v2 2009-12-12 07:13:14 EST (Sat, 12 Dec 2009)
@@ -7,6 +7,10 @@
 
 # See library home page at http://www.boost.org/libs/chrono
 
+# uncomment one if the above lines if you build outside the Boost release
+#local BOOST_ROOT = /boost_1_41_0 ;
+#local BOOST_ROOT = c:/cygwin/boost_1_41_0 ;
+
 if ! $(BOOST_ROOT)
 {
     BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ;
@@ -15,12 +19,10 @@
 project boost/chrono
     : source-location ../src
     : requirements
- #<include>/boost_1_39_0
- #<include>../../..
- #<include>../src
- #<link>shared:<library>/boost/system//boost_system
- #<link>shared:<define>BOOST_ALL_DYN_LINK=1
- #<link>static:<define>BOOST_All_STATIC_LINK=1
+ # uncomment the line above if you build outside the Boost release
+ #<include>$(BOOST_ROOT)
+ # uncomment the line above if you build outside the Boost release
+ #<include>../../..
         #<toolset>gcc:<linkflags>--enable-auto-import
     : usage-requirements # pass these requirement to dependents (i.e. users)
         <link>shared:<define>BOOST_CHRONO_DYN_LINK=1
@@ -31,8 +33,7 @@
 
 lib boost_chrono
     : $(SOURCES).cpp
- ../../system/build//boost_system
- #../../exception/build//boost_exception
+ $(BOOST_ROOT)/libs/system/build//boost_system
     :
     <link>shared:<define>BOOST_ALL_DYN_LINK=1 # tell source we're building dll's
     <link>static:<define>BOOST_All_STATIC_LINK=1 # tell source we're building static lib's

Modified: sandbox/chrono/libs/chrono/test/Jamfile.v2
==============================================================================
--- sandbox/chrono/libs/chrono/test/Jamfile.v2 (original)
+++ sandbox/chrono/libs/chrono/test/Jamfile.v2 2009-12-12 07:13:14 EST (Sat, 12 Dec 2009)
@@ -7,14 +7,25 @@
 
 # See library home page at http://www.boost.org/libs/chrono
 
+# uncomment one if the above lines if you build outside the Boost release
+#local BOOST_ROOT = /boost_1_41_0 ;
+#local BOOST_ROOT = c:/cygwin/boost_1_41_0 ;
+
+if ! $(BOOST_ROOT)
+{
+ BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ;
+}
+
 project
     : requirements
- #<library>/boost/chrono//boost_chrono
- #<library>/boost/system//boost_system
- <library>../build//boost_chrono
- #<include>/boost_1_39_0
- #<include>../../..
- <toolset>msvc:<asynch-exceptions>on
+ #<library>/boost/chrono//boost_chrono
+ #<library>/boost/system//boost_system
+ <library>../build//boost_chrono
+ # uncomment the line above if you build outside the Boost release
+ #<include>$(BOOST_ROOT)
+ # uncomment the line above if you build outside the Boost release
+ #<include>../../..
+ <toolset>msvc:<asynch-exceptions>on
     ;
 
 # test-suite "common_type"
@@ -24,50 +35,50 @@
 
     test-suite "ratio"
         :
- [ compile-fail ratio_fail_test1.cpp : <toolset>msvc:<warnings-as-errors>on ]
+ [ compile-fail ratio_fail_test1.cpp : <warnings-as-errors>on ]
         [ run ratio_test.cpp : : : <link>static ]
- [ run ratio_test.cpp ../../system/build : : : : ratio_test_dll ]
+ [ run ratio_test.cpp : : : <library>/boost/system//boost_system : ratio_test_dll ]
         ;
 
 
     test-suite "chrono"
         :
         [ run chrono_unit_test.cpp : : : <link>static ]
- [ run chrono_unit_test.cpp ../../system/build : : : : chrono_unit_test_dll ]
+ [ run chrono_unit_test.cpp : : : <library>/boost/system//boost_system : chrono_unit_test_dll ]
         [ run explore_limits.cpp : : : <link>static ]
- [ run explore_limits.cpp ../../system/build : : : : explore_limits_dll ]
+ [ run explore_limits.cpp : : : <library>/boost/system//boost_system : explore_limits_dll ]
         [ run test_duration.cpp : : : <link>static ]
- [ run test_duration.cpp ../../system/build : : : : test_duration_dll ]
+ [ run test_duration.cpp : : : <library>/boost/system//boost_system : test_duration_dll ]
         [ run test_system_clock.cpp : : : <link>static ]
- [ run test_system_clock.cpp ../../system/build : : : : test_system_clock_dll ]
+ [ run test_system_clock.cpp : : : <library>/boost/system//boost_system : test_system_clock_dll ]
         [ run miscellaneous.cpp : : : <link>static ]
- [ run miscellaneous.cpp ../../system/build : : : : miscellaneous_dll ]
+ [ run miscellaneous.cpp : : : <library>/boost/system//boost_system : miscellaneous_dll ]
         [ run test_special_values.cpp : : : <link>static ]
- [ run test_special_values.cpp ../../system/build : : : : test_special_values_dll ]
+ [ run test_special_values.cpp : : : <library>/boost/system//boost_system : test_special_values_dll ]
         [ run manipulate_clock_object.cpp : : : <link>static ]
- [ run manipulate_clock_object.cpp ../../system/build : : : : manipulate_clock_object_dll ]
+ [ run manipulate_clock_object.cpp : : : <library>/boost/system//boost_system : manipulate_clock_object_dll ]
         [ run ../example/cycle_count.cpp : : : <link>static ]
- [ run ../example/cycle_count.cpp ../../system/build : : : : cycle_count_dll ]
+ [ run ../example/cycle_count.cpp : : : <library>/boost/system//boost_system : cycle_count_dll ]
         [ run ../example/runtime_resolution.cpp : : : <link>static ]
- [ run ../example/runtime_resolution.cpp ../../system/build : : : : runtime_resolution_dll ]
+ [ run ../example/runtime_resolution.cpp : : : <library>/boost/system//boost_system : runtime_resolution_dll ]
         [ run ../example/xtime.cpp : : : <link>static ]
- [ run ../example/xtime.cpp ../../system/build : : : : xtime_dll ]
+ [ run ../example/xtime.cpp : : : <library>/boost/system//boost_system : xtime_dll ]
         [ run ../example/saturating.cpp : : : <link>static ]
- [ run ../example/saturating.cpp ../../system/build : : : : saturating_dll ]
+ [ run ../example/saturating.cpp : : : <library>/boost/system//boost_system : saturating_dll ]
         [ run ../example/min_time_point.cpp : : : <link>static ]
- [ run ../example/min_time_point.cpp ../../system/build : : : : min_time_point_dll ]
+ [ run ../example/min_time_point.cpp : : : <library>/boost/system//boost_system : min_time_point_dll ]
         [ run ../example/i_dont_like_the_default_duration_behavior.cpp : : : <link>static ]
- [ run ../example/i_dont_like_the_default_duration_behavior.cpp ../../system/build : : : : i_dont_like_the_default_duration_behavior_dll ]
+ [ run ../example/i_dont_like_the_default_duration_behavior.cpp : : : <library>/boost/system//boost_system : i_dont_like_the_default_duration_behavior_dll ]
         [ run ../example/simulated_thread_interface_demo.cpp : : : <link>static ]
- [ run ../example/simulated_thread_interface_demo.cpp ../../system/build : : : : simulated_thread_interface_demo_dll ]
+ [ run ../example/simulated_thread_interface_demo.cpp : : : <library>/boost/system//boost_system : simulated_thread_interface_demo_dll ]
         [ run ../example/timeval_demo.cpp : : : <link>static ]
- [ run ../example/timeval_demo.cpp ../../system/build : : : : timeval_demo_dll ]
+ [ run ../example/timeval_demo.cpp : : : <library>/boost/system//boost_system : timeval_demo_dll ]
         ;
 
     test-suite "timer"
         :
         [ run ../example/run_timer_example.cpp : : : <link>static ]
- [ run ../example/run_timer_example.cpp ../../system/build : : : : run_timer_example_dll ]
+ [ run ../example/run_timer_example.cpp : : : <library>/boost/system//boost_system : run_timer_example_dll ]
         [ run run_timer_test.cpp : : : <link>static ]
- [ run run_timer_test.cpp ../../system/build : : : : run_timer_test_dll ]
+ [ run run_timer_test.cpp : : : <library>/boost/system//boost_system : run_timer_test_dll ]
         ;


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