Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions Jamfile

This file was deleted.

27 changes: 27 additions & 0 deletions build.jam
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright René Ferdinand Rivera Morell 2023-2024
# 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)

require-b2 5.2 ;

constant boost_dependencies :
/boost/assert//boost_assert
/boost/config//boost_config
/boost/iterator//boost_iterator
/boost/throw_exception//boost_throw_exception
/boost/type_traits//boost_type_traits ;

project /boost/tokenizer
: common-requirements
<include>include
;

explicit
[ alias boost_tokenizer : : : : <library>$(boost_dependencies) ]
[ alias all : boost_tokenizer example test ]
;

call-if : boost-library tokenizer
;

2 changes: 2 additions & 0 deletions example/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

import testing ;

project : requirements <library>/boost/tokenizer//boost_tokenizer ;

test-suite "tokenizer-examples"
: [ run char_sep_example_1.cpp ]
[ run char_sep_example_2.cpp ]
Expand Down
4 changes: 3 additions & 1 deletion test/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

import testing ;

run examples.cpp ;
project : requirements <library>/boost/tokenizer//boost_tokenizer ;

run examples.cpp : : : <library>/boost/array//boost_array ;
run simple_example_1.cpp ;
run simple_example_2.cpp ;
run simple_example_3.cpp ;
Expand Down