]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/test/build/Jamfile.v2
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / test / build / Jamfile.v2
CommitLineData
7c673cae
FG
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)
4#
5# See http://www.boost.org/libs/test for the library home page.
6
7project boost/test
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
18 <warnings>all
19 # <warnings-as-errors>on
20
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
24 : usage-requirements
25 <define>BOOST_TEST_NO_AUTO_LINK=1
26 # Disable Warning about boost::noncopyable not being exported
27 <link>shared,<toolset>msvc:<cxxflags>-wd4275
28
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
32 ;
33
34PRG_EXEC_MON_SOURCES =
35 execution_monitor
36 debug
37 cpp_main
38 ;
39
40TEST_EXEC_MON_SOURCES =
41 compiler_log_formatter
42 debug
43 decorator
44 execution_monitor
45 framework
46 plain_report_formatter
47 progress_monitor
48 results_collector
49 results_reporter
b32b8144 50 test_framework_init_observer
7c673cae
FG
51 test_main
52 test_tools
53 test_tree
54 unit_test_log
55 unit_test_main
56 unit_test_monitor
57 unit_test_parameters
58 junit_log_formatter
59 xml_log_formatter
60 xml_report_formatter
61 ;
62
63UTF_SOURCES =
64 compiler_log_formatter
65 debug
66 decorator
67 execution_monitor
68 framework
69 plain_report_formatter
70 progress_monitor
71 results_collector
72 results_reporter
b32b8144 73 test_framework_init_observer
7c673cae
FG
74 test_tools
75 test_tree
76 unit_test_log
77 unit_test_main
78 unit_test_monitor
79 unit_test_parameters
80 junit_log_formatter
81 xml_log_formatter
82 xml_report_formatter
83 ;
84
85lib boost_prg_exec_monitor
86 : # sources
87 $(PRG_EXEC_MON_SOURCES).cpp
88 : # requirements
89 : # default build
90 : # usage-requirements
91 <link>shared:<define>BOOST_TEST_DYN_LINK=1
92 ;
93
94lib boost_test_exec_monitor
95 : # sources
96 $(TEST_EXEC_MON_SOURCES).cpp
97 : # requirements
98 <link>static
99 : # default build
100 : # usage-requirements
101 <link>shared:<define>BOOST_TEST_DYN_LINK=1
102 ;
103
104lib boost_unit_test_framework
105 : # sources
106 $(UTF_SOURCES).cpp
107 : # requirements
108 : # default build
109 : # usage-requirements
110 <link>shared:<define>BOOST_TEST_DYN_LINK=1
111 ;
112
113alias minimal ;
114
115alias included ;
116
117boost-install boost_prg_exec_monitor
118 boost_test_exec_monitor
119 boost_unit_test_framework ;