forked from boostorg/container_hash
Add Jamfiles for testing hash examples.
[SVN r30611]
This commit is contained in:
28
examples/Jamfile
Normal file
28
examples/Jamfile
Normal 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 ]
|
||||||
|
;
|
||||||
|
}
|
@@ -3,6 +3,6 @@
|
|||||||
# subject to the Boost Software License, Version 1.0. (See accompanying
|
# 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)
|
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
exe books : books.cpp ;
|
run books.cpp ;
|
||||||
exe point : point.cpp ;
|
run point.cpp ;
|
||||||
exe portable : portable.cpp ;
|
run portable.cpp ;
|
||||||
|
Reference in New Issue
Block a user