Add Jamfiles for testing hash examples.

[SVN r30611]
This commit is contained in:
Daniel James
2005-08-21 11:22:29 +00:00
parent b2c5ed9adf
commit 30bc59df59
2 changed files with 31 additions and 3 deletions

28
examples/Jamfile Normal file
View File

@@ -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
: : : <include>$(BOOST_ROOT)
] ;
}
{
test-suite functional/examples
:
[ hash-example books ]
[ hash-example point ]
[ hash-example portable ]
;
}

View File

@@ -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 ;