Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:54:08

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  * **AUTOGENERATED FROM CMAKE CONFIGURATION**
0011  *
0012  * Contains materialized compile-time configuration provided to Catch2's
0013  * CMake configuration. All compile-time configuration options need to
0014  * be here, and also documented in `docs/configuration.md`.
0015  */
0016 
0017 #ifndef CATCH_USER_CONFIG_HPP_INCLUDED
0018 #define CATCH_USER_CONFIG_HPP_INCLUDED
0019 
0020 
0021 // ------
0022 // Overridable compilation flags,
0023 // these can have 3 "states": Force Yes, Force No, Use Default.
0024 // Setting both Force Yes and Force No is an error
0025 // ------
0026 
0027 /* #undef CATCH_CONFIG_ANDROID_LOGWRITE */
0028 /* #undef CATCH_CONFIG_NO_ANDROID_LOGWRITE */
0029 
0030 #if defined( CATCH_CONFIG_ANDROID_LOGWRITE ) && \
0031     defined( CATCH_CONFIG_NO_ANDROID_LOGWRITE )
0032 #    error Cannot force ANDROID_LOGWRITE to both ON and OFF
0033 #endif
0034 
0035 /* #undef CATCH_CONFIG_COLOUR_WIN32 */
0036 /* #undef CATCH_CONFIG_NO_COLOUR_WIN32 */
0037 
0038 #if defined( CATCH_CONFIG_COLOUR_WIN32 ) && \
0039     defined( CATCH_CONFIG_NO_COLOUR_WIN32 )
0040 #    error Cannot force COLOUR_WIN32 to be ON and OFF
0041 #endif
0042 
0043 /* #undef CATCH_CONFIG_COUNTER */
0044 /* #undef CATCH_CONFIG_NO_COUNTER */
0045 
0046 #if defined( CATCH_CONFIG_COUNTER ) && \
0047     defined( CATCH_CONFIG_NO_COUNTER )
0048 #    error Cannot force COUNTER to both ON and OFF
0049 #endif
0050 
0051 
0052 
0053 /* #undef CATCH_CONFIG_CPP11_TO_STRING */
0054 /* #undef CATCH_CONFIG_NO_CPP11_TO_STRING */
0055 
0056 #if defined( CATCH_CONFIG_CPP11_TO_STRING ) && \
0057     defined( CATCH_CONFIG_NO_CPP11_TO_STRING )
0058 #    error Cannot force CPP11_TO_STRING to both ON and OFF
0059 #endif
0060 
0061 
0062 
0063 /* #undef CATCH_CONFIG_CPP17_BYTE */
0064 /* #undef CATCH_CONFIG_NO_CPP17_BYTE */
0065 
0066 #if defined( CATCH_CONFIG_CPP17_BYTE ) && \
0067     defined( CATCH_CONFIG_NO_CPP17_BYTE )
0068 #    error Cannot force CPP17_BYTE to both ON and OFF
0069 #endif
0070 
0071 
0072 
0073 /* #undef CATCH_CONFIG_CPP17_OPTIONAL */
0074 /* #undef CATCH_CONFIG_NO_CPP17_OPTIONAL */
0075 
0076 #if defined( CATCH_CONFIG_CPP17_OPTIONAL ) && \
0077     defined( CATCH_CONFIG_NO_CPP17_OPTIONAL )
0078 #    error Cannot force CPP17_OPTIONAL to both ON and OFF
0079 #endif
0080 
0081 
0082 
0083 /* #undef CATCH_CONFIG_CPP17_STRING_VIEW */
0084 /* #undef CATCH_CONFIG_NO_CPP17_STRING_VIEW */
0085 
0086 #if defined( CATCH_CONFIG_CPP17_STRING_VIEW ) && \
0087     defined( CATCH_CONFIG_NO_CPP17_STRING_VIEW )
0088 #    error Cannot force CPP17_STRING_VIEW to both ON and OFF
0089 #endif
0090 
0091 
0092 
0093 /* #undef CATCH_CONFIG_CPP17_UNCAUGHT_EXCEPTIONS */
0094 /* #undef CATCH_CONFIG_NO_CPP17_UNCAUGHT_EXCEPTIONS */
0095 
0096 #if defined( CATCH_CONFIG_CPP17_UNCAUGHT_EXCEPTIONS ) && \
0097     defined( CATCH_CONFIG_NO_CPP17_UNCAUGHT_EXCEPTIONS )
0098 #    error Cannot force CPP17_UNCAUGHT_EXCEPTIONS to both ON and OFF
0099 #endif
0100 
0101 
0102 
0103 /* #undef CATCH_CONFIG_CPP17_VARIANT */
0104 /* #undef CATCH_CONFIG_NO_CPP17_VARIANT */
0105 
0106 #if defined( CATCH_CONFIG_CPP17_VARIANT ) && \
0107     defined( CATCH_CONFIG_NO_CPP17_VARIANT )
0108 #    error Cannot force CPP17_VARIANT to both ON and OFF
0109 #endif
0110 
0111 
0112 
0113 /* #undef CATCH_CONFIG_GLOBAL_NEXTAFTER */
0114 /* #undef CATCH_CONFIG_NO_GLOBAL_NEXTAFTER */
0115 
0116 #if defined( CATCH_CONFIG_GLOBAL_NEXTAFTER ) && \
0117     defined( CATCH_CONFIG_NO_GLOBAL_NEXTAFTER )
0118 #    error Cannot force GLOBAL_NEXTAFTER to both ON and OFF
0119 #endif
0120 
0121 
0122 
0123 /* #undef CATCH_CONFIG_POSIX_SIGNALS */
0124 /* #undef CATCH_CONFIG_NO_POSIX_SIGNALS */
0125 
0126 #if defined( CATCH_CONFIG_POSIX_SIGNALS ) && \
0127     defined( CATCH_CONFIG_NO_POSIX_SIGNALS )
0128 #    error Cannot force POSIX_SIGNALS to both ON and OFF
0129 #endif
0130 
0131 
0132 
0133 /* #undef CATCH_CONFIG_GETENV */
0134 /* #undef CATCH_CONFIG_NO_GETENV */
0135 
0136 #if defined( CATCH_CONFIG_GETENV ) && \
0137     defined( CATCH_CONFIG_NO_GETENV )
0138 #    error Cannot force GETENV to both ON and OFF
0139 #endif
0140 
0141 
0142 
0143 /* #undef CATCH_CONFIG_USE_ASYNC */
0144 /* #undef CATCH_CONFIG_NO_USE_ASYNC */
0145 
0146 #if defined( CATCH_CONFIG_USE_ASYNC ) && \
0147     defined( CATCH_CONFIG_NO_USE_ASYNC )
0148 #    error Cannot force USE_ASYNC to both ON and OFF
0149 #endif
0150 
0151 
0152 
0153 /* #undef CATCH_CONFIG_WCHAR */
0154 /* #undef CATCH_CONFIG_NO_WCHAR */
0155 
0156 #if defined( CATCH_CONFIG_WCHAR ) && \
0157     defined( CATCH_CONFIG_NO_WCHAR )
0158 #    error Cannot force WCHAR to both ON and OFF
0159 #endif
0160 
0161 
0162 
0163 /* #undef CATCH_CONFIG_WINDOWS_SEH */
0164 /* #undef CATCH_CONFIG_NO_WINDOWS_SEH */
0165 
0166 #if defined( CATCH_CONFIG_WINDOWS_SEH ) && \
0167     defined( CATCH_CONFIG_NO_WINDOWS_SEH )
0168 #    error Cannot force WINDOWS_SEH to both ON and OFF
0169 #endif
0170 
0171 
0172 /* #undef CATCH_CONFIG_EXPERIMENTAL_STATIC_ANALYSIS_SUPPORT */
0173 /* #undef CATCH_CONFIG_NO_EXPERIMENTAL_STATIC_ANALYSIS_SUPPORT */
0174 
0175 #if defined( CATCH_CONFIG_EXPERIMENTAL_STATIC_ANALYSIS_SUPPORT ) && \
0176     defined( CATCH_CONFIG_NO_EXPERIMENTAL_STATIC_ANALYSIS_SUPPORT )
0177 #    error Cannot force STATIC_ANALYSIS_SUPPORT to both ON and OFF
0178 #endif
0179 
0180 
0181 // ------
0182 // Simple toggle defines
0183 // their value is never used and they cannot be overridden
0184 // ------
0185 
0186 
0187 /* #undef CATCH_CONFIG_BAZEL_SUPPORT */
0188 /* #undef CATCH_CONFIG_DISABLE_EXCEPTIONS */
0189 /* #undef CATCH_CONFIG_DISABLE_EXCEPTIONS_CUSTOM_HANDLER */
0190 /* #undef CATCH_CONFIG_DISABLE */
0191 /* #undef CATCH_CONFIG_DISABLE_STRINGIFICATION */
0192 /* #undef CATCH_CONFIG_ENABLE_ALL_STRINGMAKERS */
0193 /* #undef CATCH_CONFIG_ENABLE_OPTIONAL_STRINGMAKER */
0194 /* #undef CATCH_CONFIG_ENABLE_PAIR_STRINGMAKER */
0195 /* #undef CATCH_CONFIG_ENABLE_TUPLE_STRINGMAKER */
0196 /* #undef CATCH_CONFIG_ENABLE_VARIANT_STRINGMAKER */
0197 /* #undef CATCH_CONFIG_EXPERIMENTAL_REDIRECT */
0198 /* #undef CATCH_CONFIG_FAST_COMPILE */
0199 /* #undef CATCH_CONFIG_NOSTDOUT */
0200 /* #undef CATCH_CONFIG_PREFIX_ALL */
0201 /* #undef CATCH_CONFIG_WINDOWS_CRTDBG */
0202 
0203 /* #undef CATCH_CONFIG_SHARED_LIBRARY */
0204 
0205 
0206 // ------
0207 // "Variable" defines, these have actual values
0208 // ------
0209 
0210 #define CATCH_CONFIG_DEFAULT_REPORTER "console"
0211 #define CATCH_CONFIG_CONSOLE_WIDTH 80
0212 
0213 // Unlike the macros above, CATCH_CONFIG_FALLBACK_STRINGIFIER does not
0214 // have a good default value, so we cannot always define it, and cannot
0215 // even expose it as a variable in CMake. The users will have to find
0216 // out about it from docs and set it only if they use it.
0217 /* #undef CATCH_CONFIG_FALLBACK_STRINGIFIER */
0218 
0219 #endif // CATCH_USER_CONFIG_HPP_INCLUDED