diff --git a/examples/Jamfile b/examples/Jamfile new file mode 100644 index 0000000..816ed85 --- /dev/null +++ b/examples/Jamfile @@ -0,0 +1,28 @@ + +# (C) Copyright Daniel James 2005. +# 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) + +subproject libs/functional/hash/examples ; + +import testing ; + +DEPENDS all : test ; + +rule hash-example ( name ) +{ + return [ + run $(name).cpp + : : : $(BOOST_ROOT) + ] ; +} + +{ + test-suite functional/examples + : + [ hash-example books ] + [ hash-example point ] + [ hash-example portable ] + ; +} diff --git a/examples/Jamfile.v2 b/examples/Jamfile.v2 index 98802b8..dc5bdce 100644 --- a/examples/Jamfile.v2 +++ b/examples/Jamfile.v2 @@ -3,6 +3,6 @@ # 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) -exe books : books.cpp ; -exe point : point.cpp ; -exe portable : portable.cpp ; +run books.cpp ; +run point.cpp ; +run portable.cpp ;