Skip to content

Commit

Permalink
Merge pull request #406 from boostorg/pr/lib-specific-no-lib
Browse files Browse the repository at this point in the history
Respect library-specific _NO_LIB macros. Fixes #339.
  • Loading branch information
raffienficiaud authored Dec 17, 2023
2 parents 7285827 + 6ab9445 commit e41c4e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/boost/test/prg_exec_monitor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

// Automatically link to the correct build variant where possible.
#if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_TEST_NO_LIB) && \
!defined(BOOST_PRG_EXEC_MONITOR_NO_LIB) && \
!defined(BOOST_TEST_SOURCE) && !defined(BOOST_TEST_INCLUDED)
# define BOOST_LIB_NAME boost_prg_exec_monitor

Expand Down
1 change: 1 addition & 0 deletions include/boost/test/test_exec_monitor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@

// Automatically link to the correct build variant where possible.
#if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_TEST_NO_LIB) && \
!defined(BOOST_TEST_EXEC_MONITOR_NO_LIB) && \
!defined(BOOST_TEST_SOURCE) && !defined(BOOST_TEST_INCLUDED)

# define BOOST_LIB_NAME boost_test_exec_monitor
Expand Down
1 change: 1 addition & 0 deletions include/boost/test/unit_test.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
// ************************************************************************** //

#if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_TEST_NO_LIB) && \
!defined(BOOST_UNIT_TEST_FRAMEWORK_NO_LIB) && \
!defined(BOOST_TEST_SOURCE) && !defined(BOOST_TEST_INCLUDED) && \
defined(BOOST_TEST_MAIN)
# define BOOST_LIB_NAME boost_unit_test_framework
Expand Down

0 comments on commit e41c4e1

Please sign in to comment.