]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/test/build/Jamfile.v2
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / test / build / Jamfile.v2
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
7 project 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
34 PRG_EXEC_MON_SOURCES =
35 execution_monitor
36 debug
37 cpp_main
38 ;
39
40 TEST_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
50 test_main
51 test_tools
52 test_tree
53 unit_test_log
54 unit_test_main
55 unit_test_monitor
56 unit_test_parameters
57 junit_log_formatter
58 xml_log_formatter
59 xml_report_formatter
60 ;
61
62 UTF_SOURCES =
63 compiler_log_formatter
64 debug
65 decorator
66 execution_monitor
67 framework
68 plain_report_formatter
69 progress_monitor
70 results_collector
71 results_reporter
72 test_tools
73 test_tree
74 unit_test_log
75 unit_test_main
76 unit_test_monitor
77 unit_test_parameters
78 junit_log_formatter
79 xml_log_formatter
80 xml_report_formatter
81 ;
82
83 lib boost_prg_exec_monitor
84 : # sources
85 $(PRG_EXEC_MON_SOURCES).cpp
86 : # requirements
87 : # default build
88 : # usage-requirements
89 <link>shared:<define>BOOST_TEST_DYN_LINK=1
90 ;
91
92 lib boost_test_exec_monitor
93 : # sources
94 $(TEST_EXEC_MON_SOURCES).cpp
95 : # requirements
96 <link>static
97 : # default build
98 : # usage-requirements
99 <link>shared:<define>BOOST_TEST_DYN_LINK=1
100 ;
101
102 lib boost_unit_test_framework
103 : # sources
104 $(UTF_SOURCES).cpp
105 : # requirements
106 : # default build
107 : # usage-requirements
108 <link>shared:<define>BOOST_TEST_DYN_LINK=1
109 ;
110
111 alias minimal ;
112
113 alias included ;
114
115 boost-install boost_prg_exec_monitor
116 boost_test_exec_monitor
117 boost_unit_test_framework ;