1# Copyright 2019 René Ferdinand Rivera Morell
2# Distributed under the Boost Software License, Version 1.0.
3# (See accompanying file LICENSE.txt or copy at
4# http://www.boost.org/LICENSE_1_0.txt)
5
6import testing ;
7
8project /bfg_lyra_tests
9	: requirements
10		<toolset>clang:<cxxflags>-fcolor-diagnostics
11		<include>../examples
12		<variant>debug:<define>LYRA_DEBUG=1
13    ;
14
15for local test in [ glob *_compile_test.cpp ]
16{
17    compile $(test) : requirements <use>/bfg_lyra  ;
18}
19for local test in [ glob *_run_test.cpp ]
20{
21    run $(test) : requirements <use>/bfg_lyra ;
22}
23
24compile-fail single_include_test.cpp : : single_include_test_fail ;
25compile single_include_test.cpp
26	: <include>$(BFG_LYRA_DATA)/single_include ;
27
28build-project lib_use_test ;
29