From 1345dd12db5e1e85aac4cd4f1298b690d05c5c0f Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Tue, 7 Nov 2006 02:19:13 +0000 Subject: [PATCH] v1 and v2 Jamfiles now all present and working [SVN r35888] --- build/Jamfile | 4 ++-- build/Jamfile.v2 | 20 +++++++++++++++++++ test/Jamfile | 51 ++++++++++++++++++++++++++++++++++++++++++++++++ test/Jamfile.v2 | 41 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 114 insertions(+), 2 deletions(-) create mode 100644 build/Jamfile.v2 create mode 100644 test/Jamfile create mode 100644 test/Jamfile.v2 diff --git a/build/Jamfile b/build/Jamfile index 8a45fa9..2fe5983 100644 --- a/build/Jamfile +++ b/build/Jamfile @@ -2,8 +2,8 @@ # (C) Copyright Beman Dawes 2002, 2006 -# Distributed under the Boost Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or www.boost.org/LICENSE_1_0.txt) # See library home page at http://www.boost.org/libs/system diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 new file mode 100644 index 0000000..de9f389 --- /dev/null +++ b/build/Jamfile.v2 @@ -0,0 +1,20 @@ +# Boost System Library Build Jamfile + +# (C) Copyright Beman Dawes 2002, 2006 + +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or www.boost.org/LICENSE_1_0.txt) + +# See library home page at http://www.boost.org/libs/system + +project boost/system + : source-location ../src + ; + +SOURCES = error_code ; + +lib boost_system + : $(SOURCES).cpp + : shared:BOOST_SYSTEM_DYN_LINK=1 + static:BOOST_SYSTEM_STATIC_LINK=1 + ; diff --git a/test/Jamfile b/test/Jamfile new file mode 100644 index 0000000..fef0463 --- /dev/null +++ b/test/Jamfile @@ -0,0 +1,51 @@ +# Boost System Library test Jamfile + +# Copyright Beman Dawes 2003, 2006 + +# Distributed under the Boost Software License, Version 1.0. +# See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt + +# See library home page at http://www.boost.org/libs/system + +subproject libs/system/test ; + +# bring in rules for testing +import testing ; + +# Make tests run by default. +DEPENDS all : test ; + +{ + # look in BOOST_ROOT for sources first, just in this Jamfile + local SEARCH_SOURCE = $(BOOST_ROOT) $(SEARCH_SOURCE) ; + + test-suite "system" + : [ run libs/system/test/error_code_test.cpp + ../build/boost_system + : : : $(BOOST_AUX_ROOT) $(BOOST_ROOT) BOOST_ALL_NO_LIB BOOST_SYSTEM_STATIC_LINK + ] + [ run libs/system/test/error_code_test.cpp + ../build/boost_system + : : : $(BOOST_AUX_ROOT) $(BOOST_ROOT) BOOST_ALL_NO_LIB BOOST_SYSTEM_DYN_LINK dynamic + : error_code_test_dll + ] + [ run libs/system/test/error_code_user_test.cpp + ../build/boost_system + : : : $(BOOST_AUX_ROOT) $(BOOST_ROOT) BOOST_ALL_NO_LIB BOOST_SYSTEM_STATIC_LINK + ] + [ run libs/system/test/error_code_user_test.cpp + ../build/boost_system + : : : $(BOOST_AUX_ROOT) $(BOOST_ROOT) BOOST_ALL_NO_LIB BOOST_SYSTEM_DYN_LINK dynamic + : error_code_user_test_dll + ] + [ run libs/system/test/system_error_test.cpp + ../build/boost_system + : : : $(BOOST_AUX_ROOT) $(BOOST_ROOT) BOOST_ALL_NO_LIB BOOST_SYSTEM_STATIC_LINK + ] + [ run libs/system/test/system_error_test.cpp + ../build/boost_system + : : : $(BOOST_AUX_ROOT) $(BOOST_ROOT) BOOST_ALL_NO_LIB BOOST_SYSTEM_DYN_LINK dynamic + : system_error_test_dll + ] + ; +} diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 new file mode 100644 index 0000000..e18d938 --- /dev/null +++ b/test/Jamfile.v2 @@ -0,0 +1,41 @@ +# Boost System Library test Jamfile + +# Copyright Beman Dawes 2003, 2006 + +# Distributed under the Boost Software License, Version 1.0. +# See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt + +# See library home page at http://www.boost.org/libs/system + +project + : requirements + /boost/system//boost_system + BOOST_ALL_NO_LIB + ; + + test-suite "system" + : [ run error_code_test.cpp + : : : BOOST_SYSTEM_STATIC_LINK + static static + ] + [ run error_code_test.cpp + : : : BOOST_SYSTEM_DYN_LINK + : error_code_test_dll + ] + [ run error_code_user_test.cpp + : : : BOOST_SYSTEM_STATIC_LINK + static static + ] + [ run error_code_user_test.cpp + : : : BOOST_SYSTEM_DYN_LINK + : error_code_user_test_dll + ] + [ run system_error_test.cpp + : : : BOOST_ESYSTEM_STATIC_LINK + static static + ] + [ run system_error_test.cpp + : : : BOOST_SYSTEM_DYN_LINK + : system_error_test_dll + ] + ;