From f4e75e2999af924b0bddae2957910161cad0279d Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Sun, 14 Jun 2009 14:02:24 +0200 Subject: [PATCH] bjam build system --- libs/lockfree/doc/Jamfile.v2 | 13 +++++++++++++ libs/lockfree/examples/Jamfile.v2 | 21 +++++++++++++++++++++ libs/lockfree/test/Jamfile.v2 | 23 +++++++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 libs/lockfree/doc/Jamfile.v2 create mode 100644 libs/lockfree/examples/Jamfile.v2 create mode 100644 libs/lockfree/test/Jamfile.v2 diff --git a/libs/lockfree/doc/Jamfile.v2 b/libs/lockfree/doc/Jamfile.v2 new file mode 100644 index 0000000..ddf1994 --- /dev/null +++ b/libs/lockfree/doc/Jamfile.v2 @@ -0,0 +1,13 @@ +# Copyright Tim Blechmann 2009. Use, modification, and distribution are +# subject to 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) + +using quickbook ; + +xml lockfree : lockfree.qbk ; +boostbook standalone + : + lockfree + : + pdf:boost.url.prefix=http://www.boost.org/doc/libs/release/doc/html + ; diff --git a/libs/lockfree/examples/Jamfile.v2 b/libs/lockfree/examples/Jamfile.v2 new file mode 100644 index 0000000..3a1702f --- /dev/null +++ b/libs/lockfree/examples/Jamfile.v2 @@ -0,0 +1,21 @@ +# (C) Copyright 2009: Tim Blechmann +# 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) + +rule test_all +{ + local all_rules = ; + + for local fileb in [ glob *.cpp ] + { + all_rules += [ link $(fileb) /boost/thread//boost_thread + : # additional args + : # test-files + : # requirements + ] ; + } + + return $(all_rules) ; +} + +test-suite lockfree_example : [ test_all r ] : multi ; diff --git a/libs/lockfree/test/Jamfile.v2 b/libs/lockfree/test/Jamfile.v2 new file mode 100644 index 0000000..3e2883a --- /dev/null +++ b/libs/lockfree/test/Jamfile.v2 @@ -0,0 +1,23 @@ +# (C) Copyright 2009: Tim Blechmann +# 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) + +import testing ; + +rule test_all +{ + local all_rules = ; + + for local fileb in [ glob *.cpp ] + { + all_rules += [ run $(fileb) /boost/thread//boost_thread + : # additional args + : # test-files + : # requirements + ] ; + } + + return $(all_rules) ; +} + +test-suite lockfree : [ test_all r ] : multi ; -- 2.11.4.GIT