Allow passing compile-time configuration options through CMake

This commit is contained in:
Martin Hořeňovský
2022-02-02 15:36:58 +01:00
parent fc5552d27b
commit 33ffc3b6fc
8 changed files with 313 additions and 2 deletions

View File

@@ -287,7 +287,9 @@
# define CATCH_CONFIG_NEW_CAPTURE
#endif
#if !defined(CATCH_INTERNAL_CONFIG_EXCEPTIONS_ENABLED) && !defined(CATCH_CONFIG_DISABLE_EXCEPTIONS)
#if !defined( CATCH_INTERNAL_CONFIG_EXCEPTIONS_ENABLED ) && \
!defined( CATCH_CONFIG_DISABLE_EXCEPTIONS ) && \
!defined( CATCH_CONFIG_NO_DISABLE_EXCEPTIONS )
# define CATCH_CONFIG_DISABLE_EXCEPTIONS
#endif