Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-17 08:53:27

0001 
0002 //              Copyright Catch2 Authors
0003 // Distributed under the Boost Software License, Version 1.0.
0004 //   (See accompanying file LICENSE.txt or copy at
0005 //        https://www.boost.org/LICENSE_1_0.txt)
0006 
0007 // SPDX-License-Identifier: BSL-1.0
0008 
0009 /** \file
0010  * Wrapper for the CATCH_CONFIG_PREFIX_MESSAGES configuration option
0011  *
0012  * CATCH_CONFIG_PREFIX_ALL can be used to avoid clashes with other macros
0013  * by prepending CATCH_. This may not be desirable if the only clashes are with
0014  * logger macros such as INFO and WARN. In this cases
0015  * CATCH_CONFIG_PREFIX_MESSAGES can be used to only prefix a small subset
0016  * of relevant macros.
0017  *
0018  */
0019 
0020 #ifndef CATCH_CONFIG_PREFIX_MESSAGES_HPP_INCLUDED
0021 #define CATCH_CONFIG_PREFIX_MESSAGES_HPP_INCLUDED
0022 
0023 #include <catch2/catch_user_config.hpp>
0024 
0025 #if defined(CATCH_CONFIG_PREFIX_ALL) && !defined(CATCH_CONFIG_PREFIX_MESSAGES)
0026     #define CATCH_CONFIG_PREFIX_MESSAGES
0027 #endif
0028 
0029 #endif // CATCH_CONFIG_PREFIX_MESSAGES_HPP_INCLUDED