mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-30 16:37:56 +00:00
Add define that pulls in reporter and listeners interfaces
This allows users to define reporters and listeners in files different from the main file. Related to #991, #986
This commit is contained in:
parent
0545de0a31
commit
24af32f378
4 changed files with 21 additions and 1 deletions
|
@ -19,6 +19,7 @@
|
|||
|
||||
#if defined(CATCH_CONFIG_MAIN) || defined(CATCH_CONFIG_RUNNER)
|
||||
# define CATCH_IMPL
|
||||
# define CATCH_CONFIG_EXTERNAL_INTERFACES
|
||||
#endif
|
||||
|
||||
#ifdef CATCH_IMPL
|
||||
|
@ -52,6 +53,10 @@
|
|||
#include "internal/catch_objc.hpp"
|
||||
#endif
|
||||
|
||||
#ifdef CATCH_CONFIG_EXTERNAL_INTERFACES
|
||||
#include "internal/catch_external_interfaces.h"
|
||||
#endif
|
||||
|
||||
#ifdef CATCH_IMPL
|
||||
#include "internal/catch_impl.hpp"
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue