1 # (C) Copyright boost 2004-2014.
2 # Distributed under the Boost Software License, Version 1.0.
3 # (See accompanying file LICENSE_1_0.txt or copy at www.boost.org/LICENSE_1_0.txt)
5 # See http://www.boost.org/libs/test for the library home page.
7 import ../../predef/check/predef
12 : source-location ../src
13 : requirements <link>shared:<define>BOOST_TEST_DYN_LINK=1
14 <toolset>borland:<cxxflags>-w-8080
15 # Disable Warning about boost::noncopyable not being exported
16 <link>shared,<toolset>msvc:<cxxflags>-wd4275
17 <toolset>msvc:<cxxflags>-wd4671
18 <toolset>msvc:<cxxflags>-wd4673
19 [ predef-check "BOOST_COMP_GNUC >= 4.3.0" : : <cxxflags>-Wno-variadic-macros ]
20 <toolset>clang:<cxxflags>-Wno-c99-extensions
21 <toolset>clang:<cxxflags>-Wno-variadic-macros
23 # <warnings-as-errors>on
25 # adding a dependency on boost/timer as the header are needed, and the junction needs
26 # to be there in order to build the library.
27 <library>/boost/timer//boost_timer
29 <define>BOOST_TEST_NO_AUTO_LINK=1
30 # Disable Warning about boost::noncopyable not being exported
31 <link>shared,<toolset>msvc:<cxxflags>-wd4275
33 # Adding a dependency on boost/timer as the headers need to be there in case of the
34 # header-only usage variant
35 <use>/boost/timer//boost_timer
38 PRG_EXEC_MON_SOURCES =
44 TEST_EXEC_MON_SOURCES =
45 compiler_log_formatter
50 plain_report_formatter
54 test_framework_init_observer
68 compiler_log_formatter
73 plain_report_formatter
77 test_framework_init_observer
89 lib boost_prg_exec_monitor
91 $(PRG_EXEC_MON_SOURCES).cpp
94 : # usage-requirements
95 <link>shared:<define>BOOST_TEST_DYN_LINK=1
98 lib boost_test_exec_monitor
100 $(TEST_EXEC_MON_SOURCES).cpp
104 : # usage-requirements
105 <link>shared:<define>BOOST_TEST_DYN_LINK=1
108 lib boost_unit_test_framework
113 : # usage-requirements
114 <link>shared:<define>BOOST_TEST_DYN_LINK=1
121 boost-install boost_prg_exec_monitor
122 boost_test_exec_monitor
123 boost_unit_test_framework ;