2026-01-27 09:06:40 -05:00
|
|
|
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2025-07-30 10:20:49 -04:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
// This will only be defined if cmake couldn't find a static or dynamic library to link against.
|
|
|
|
|
#cmakedefine BOOST_TEST_USE_INCLUDED
|
|
|
|
|
|
|
|
|
|
// Only one file needs to include the implementation files
|
|
|
|
|
#if defined(BOOST_TEST_USE_INCLUDED) && defined(TEST_INCLUDE_IMPLEMENTATION)
|
|
|
|
|
#include <boost/test/included/unit_test.hpp>
|
|
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
|
|
//If a dynamic library was found, this will be defined before including the header.
|
|
|
|
|
#cmakedefine BOOST_TEST_DYN_LINK
|
|
|
|
|
#include <boost/test/unit_test.hpp>
|
|
|
|
|
#endif
|