summaryrefslogtreecommitdiff
path: root/boost/libs/test/build/Jamfile.v2
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2018-12-19 22:58:32 +0100
committerChristoph Berg <myon@debian.org>2018-12-19 22:58:32 +0100
commite0737c56c1e384e05064a0c6e1ac46979371041b (patch)
treea0123d694a2d36c43dabdf0a3907392fce11d457 /boost/libs/test/build/Jamfile.v2
parentb4aebf2d137b892f53503b13785ecae900062ff7 (diff)
New upstream version 2.0.0+repackupstream/2.0.0+repack
Diffstat (limited to 'boost/libs/test/build/Jamfile.v2')
-rw-r--r--boost/libs/test/build/Jamfile.v2117
1 files changed, 117 insertions, 0 deletions
diff --git a/boost/libs/test/build/Jamfile.v2 b/boost/libs/test/build/Jamfile.v2
new file mode 100644
index 00000000..529e0711
--- /dev/null
+++ b/boost/libs/test/build/Jamfile.v2
@@ -0,0 +1,117 @@
+# (C) Copyright boost 2004-2014.
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or copy at www.boost.org/LICENSE_1_0.txt)
+#
+# See http://www.boost.org/libs/test for the library home page.
+
+project boost/test
+ : source-location ../src
+ : requirements <link>shared:<define>BOOST_TEST_DYN_LINK=1
+ <toolset>borland:<cxxflags>-w-8080
+ # Disable Warning about boost::noncopyable not being exported
+ <link>shared,<toolset>msvc:<cxxflags>-wd4275
+ <toolset>msvc:<cxxflags>-wd4671
+ <toolset>msvc:<cxxflags>-wd4673
+ <toolset>gcc:<cxxflags>-Wno-variadic-macros
+ <toolset>clang:<cxxflags>-Wno-c99-extensions
+ <toolset>clang:<cxxflags>-Wno-variadic-macros
+ <warnings>all
+ # <warnings-as-errors>on
+
+ # adding a dependency on boost/timer as the header are needed, and the junction needs
+ # to be there in order to build the library.
+ <library>/boost/timer//boost_timer
+ : usage-requirements
+ <define>BOOST_TEST_NO_AUTO_LINK=1
+ # Disable Warning about boost::noncopyable not being exported
+ <link>shared,<toolset>msvc:<cxxflags>-wd4275
+
+ # Adding a dependency on boost/timer as the headers need to be there in case of the
+ # header-only usage variant
+ <use>/boost/timer//boost_timer
+ ;
+
+PRG_EXEC_MON_SOURCES =
+ execution_monitor
+ debug
+ cpp_main
+ ;
+
+TEST_EXEC_MON_SOURCES =
+ compiler_log_formatter
+ debug
+ decorator
+ execution_monitor
+ framework
+ plain_report_formatter
+ progress_monitor
+ results_collector
+ results_reporter
+ test_main
+ test_tools
+ test_tree
+ unit_test_log
+ unit_test_main
+ unit_test_monitor
+ unit_test_parameters
+ junit_log_formatter
+ xml_log_formatter
+ xml_report_formatter
+ ;
+
+UTF_SOURCES =
+ compiler_log_formatter
+ debug
+ decorator
+ execution_monitor
+ framework
+ plain_report_formatter
+ progress_monitor
+ results_collector
+ results_reporter
+ test_tools
+ test_tree
+ unit_test_log
+ unit_test_main
+ unit_test_monitor
+ unit_test_parameters
+ junit_log_formatter
+ xml_log_formatter
+ xml_report_formatter
+ ;
+
+lib boost_prg_exec_monitor
+ : # sources
+ $(PRG_EXEC_MON_SOURCES).cpp
+ : # requirements
+ : # default build
+ : # usage-requirements
+ <link>shared:<define>BOOST_TEST_DYN_LINK=1
+ ;
+
+lib boost_test_exec_monitor
+ : # sources
+ $(TEST_EXEC_MON_SOURCES).cpp
+ : # requirements
+ <link>static
+ : # default build
+ : # usage-requirements
+ <link>shared:<define>BOOST_TEST_DYN_LINK=1
+ ;
+
+lib boost_unit_test_framework
+ : # sources
+ $(UTF_SOURCES).cpp
+ : # requirements
+ : # default build
+ : # usage-requirements
+ <link>shared:<define>BOOST_TEST_DYN_LINK=1
+ ;
+
+alias minimal ;
+
+alias included ;
+
+boost-install boost_prg_exec_monitor
+ boost_test_exec_monitor
+ boost_unit_test_framework ;