]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/test/build/Jamfile.v2
update sources to ceph Nautilus 14.2.1
[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 import ../../predef/check/predef
8 : check
9 : predef-check ;
10
11 project boost/test
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
22 <warnings>all
23 # <warnings-as-errors>on
24
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
28 : usage-requirements
29 <define>BOOST_TEST_NO_AUTO_LINK=1
30 # Disable Warning about boost::noncopyable not being exported
31 <link>shared,<toolset>msvc:<cxxflags>-wd4275
32
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
36 ;
37
38 PRG_EXEC_MON_SOURCES =
39 execution_monitor
40 debug
41 cpp_main
42 ;
43
44 TEST_EXEC_MON_SOURCES =
45 compiler_log_formatter
46 debug
47 decorator
48 execution_monitor
49 framework
50 plain_report_formatter
51 progress_monitor
52 results_collector
53 results_reporter
54 test_framework_init_observer
55 test_main
56 test_tools
57 test_tree
58 unit_test_log
59 unit_test_main
60 unit_test_monitor
61 unit_test_parameters
62 junit_log_formatter
63 xml_log_formatter
64 xml_report_formatter
65 ;
66
67 UTF_SOURCES =
68 compiler_log_formatter
69 debug
70 decorator
71 execution_monitor
72 framework
73 plain_report_formatter
74 progress_monitor
75 results_collector
76 results_reporter
77 test_framework_init_observer
78 test_tools
79 test_tree
80 unit_test_log
81 unit_test_main
82 unit_test_monitor
83 unit_test_parameters
84 junit_log_formatter
85 xml_log_formatter
86 xml_report_formatter
87 ;
88
89 lib boost_prg_exec_monitor
90 : # sources
91 $(PRG_EXEC_MON_SOURCES).cpp
92 : # requirements
93 : # default build
94 : # usage-requirements
95 <link>shared:<define>BOOST_TEST_DYN_LINK=1
96 ;
97
98 lib boost_test_exec_monitor
99 : # sources
100 $(TEST_EXEC_MON_SOURCES).cpp
101 : # requirements
102 <link>static
103 : # default build
104 : # usage-requirements
105 <link>shared:<define>BOOST_TEST_DYN_LINK=1
106 ;
107
108 lib boost_unit_test_framework
109 : # sources
110 $(UTF_SOURCES).cpp
111 : # requirements
112 : # default build
113 : # usage-requirements
114 <link>shared:<define>BOOST_TEST_DYN_LINK=1
115 ;
116
117 alias minimal ;
118
119 alias included ;
120
121 boost-install boost_prg_exec_monitor
122 boost_test_exec_monitor
123 boost_unit_test_framework ;