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.
8 : source-location ../src
9 : requirements <link>shared:<define>BOOST_TEST_DYN_LINK=1
10 <toolset>borland:<cxxflags>-w-8080
11 # Disable Warning about boost::noncopyable not being exported
12 <link>shared,<toolset>msvc:<cxxflags>-wd4275
13 <toolset>msvc:<cxxflags>-wd4671
14 <toolset>msvc:<cxxflags>-wd4673
15 <toolset>gcc:<cxxflags>-Wno-variadic-macros
16 <toolset>clang:<cxxflags>-Wno-c99-extensions
17 <toolset>clang:<cxxflags>-Wno-variadic-macros
19 # <warnings-as-errors>on
21 # adding a dependency on boost/timer as the header are needed, and the junction needs
22 # to be there in order to build the library.
23 <library>/boost/timer//boost_timer
25 <define>BOOST_TEST_NO_AUTO_LINK=1
26 # Disable Warning about boost::noncopyable not being exported
27 <link>shared,<toolset>msvc:<cxxflags>-wd4275
29 # Adding a dependency on boost/timer as the headers need to be there in case of the
30 # header-only usage variant
31 <use>/boost/timer//boost_timer
34 PRG_EXEC_MON_SOURCES =
40 TEST_EXEC_MON_SOURCES =
41 compiler_log_formatter
46 plain_report_formatter
63 compiler_log_formatter
68 plain_report_formatter
83 lib boost_prg_exec_monitor
85 $(PRG_EXEC_MON_SOURCES).cpp
88 : # usage-requirements
89 <link>shared:<define>BOOST_TEST_DYN_LINK=1
92 lib boost_test_exec_monitor
94 $(TEST_EXEC_MON_SOURCES).cpp
98 : # usage-requirements
99 <link>shared:<define>BOOST_TEST_DYN_LINK=1
102 lib boost_unit_test_framework
107 : # usage-requirements
108 <link>shared:<define>BOOST_TEST_DYN_LINK=1
115 boost-install boost_prg_exec_monitor
116 boost_test_exec_monitor
117 boost_unit_test_framework ;