mirror of
https://github.com/catchorg/Catch2.git
synced 2025-10-19 16:45:40 +02:00
Allow passing compile-time configuration options through CMake
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user