Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame^] | 1 | # (C) Copyright boost 2004. |
| 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>msvc:<asynch-exceptions>on |
| 11 | <toolset>borland:<cxxflags>-w-8080 |
| 12 | <toolset>borland:<cxxflags>-w-8001 |
| 13 | # Disable Warning about boost::noncopyable not being exported |
| 14 | <link>shared,<toolset>msvc:<cxxflags>-wd4275 |
| 15 | <toolset>msvc:<cxxflags>-wd4671 |
| 16 | <toolset>msvc:<cxxflags>-wd4673 |
| 17 | <warnings>all |
| 18 | : usage-requirements |
| 19 | <define>BOOST_TEST_NO_AUTO_LINK=1 |
| 20 | # Disable Warning about boost::noncopyable not being exported |
| 21 | <link>shared,<toolset>msvc:<cxxflags>-wd4275 |
| 22 | ; |
| 23 | |
| 24 | PRG_EXEC_MON_SOURCES = |
| 25 | execution_monitor |
| 26 | debug |
| 27 | cpp_main |
| 28 | ; |
| 29 | |
| 30 | TEST_EXEC_MON_SOURCES = |
| 31 | compiler_log_formatter |
| 32 | debug |
| 33 | execution_monitor |
| 34 | framework |
| 35 | plain_report_formatter |
| 36 | progress_monitor |
| 37 | results_collector |
| 38 | results_reporter |
| 39 | test_main |
| 40 | test_tools |
| 41 | unit_test_log |
| 42 | unit_test_main |
| 43 | unit_test_monitor |
| 44 | unit_test_parameters |
| 45 | unit_test_suite |
| 46 | xml_log_formatter |
| 47 | xml_report_formatter |
| 48 | ; |
| 49 | |
| 50 | UTF_SOURCES = |
| 51 | compiler_log_formatter |
| 52 | debug |
| 53 | exception_safety |
| 54 | execution_monitor |
| 55 | framework |
| 56 | interaction_based |
| 57 | logged_expectations |
| 58 | plain_report_formatter |
| 59 | progress_monitor |
| 60 | results_collector |
| 61 | results_reporter |
| 62 | test_tools |
| 63 | unit_test_log |
| 64 | unit_test_main |
| 65 | unit_test_monitor |
| 66 | unit_test_parameters |
| 67 | unit_test_suite |
| 68 | xml_log_formatter |
| 69 | xml_report_formatter |
| 70 | ; |
| 71 | |
| 72 | lib ndnboost_prg_exec_monitor |
| 73 | : # sources |
| 74 | $(PRG_EXEC_MON_SOURCES).cpp |
| 75 | : # requirements |
| 76 | : # default build |
| 77 | : # usage-requirements |
| 78 | <link>shared:<define>BOOST_TEST_DYN_LINK=1 |
| 79 | ; |
| 80 | |
| 81 | lib ndnboost_test_exec_monitor |
| 82 | : # sources |
| 83 | $(TEST_EXEC_MON_SOURCES).cpp |
| 84 | : # requirements |
| 85 | <link>static |
| 86 | : # default build |
| 87 | : # usage-requirements |
| 88 | <link>shared:<define>BOOST_TEST_DYN_LINK=1 |
| 89 | ; |
| 90 | |
| 91 | lib ndnboost_unit_test_framework |
| 92 | : # sources |
| 93 | $(UTF_SOURCES).cpp |
| 94 | : # requirements |
| 95 | : # default build |
| 96 | : # usage-requirements |
| 97 | <link>shared:<define>BOOST_TEST_DYN_LINK=1 |
| 98 | ; |
| 99 | |
| 100 | alias minimal : : : : |
| 101 | <toolset>msvc:<asynch-exceptions>on |
| 102 | ; |
| 103 | |
| 104 | alias included : : : : |
| 105 | <toolset>msvc:<asynch-exceptions>on |
| 106 | ; |
| 107 | |
| 108 | boost-install ndnboost_prg_exec_monitor |
| 109 | ndnboost_test_exec_monitor |
| 110 | ndnboost_unit_test_framework ; |
| 111 | |