Remove catch_external_interfaces.h

Its intent was to show which headers are expected to be useable by
Catch2's users, and to enforce their inclusion in the single header
distribution at the right place.

Given the new library model, the second use case is not needed and
the first one is better served with documentation and physical file
layout.
This commit is contained in:
Martin Hořeňovský 2020-02-12 16:57:15 +01:00
parent 0b2874b6b1
commit 21b24e8326
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
3 changed files with 0 additions and 23 deletions

View File

@ -55,7 +55,6 @@ set(INTERNAL_HEADERS
${SOURCES_DIR}/catch_enum_values_registry.h ${SOURCES_DIR}/catch_enum_values_registry.h
${SOURCES_DIR}/catch_errno_guard.h ${SOURCES_DIR}/catch_errno_guard.h
${SOURCES_DIR}/catch_exception_translator_registry.h ${SOURCES_DIR}/catch_exception_translator_registry.h
${SOURCES_DIR}/catch_external_interfaces.h
${SOURCES_DIR}/catch_fatal_condition.h ${SOURCES_DIR}/catch_fatal_condition.h
${SOURCES_DIR}/catch_generators.hpp ${SOURCES_DIR}/catch_generators.hpp
${SOURCES_DIR}/catch_generators_generic.hpp ${SOURCES_DIR}/catch_generators_generic.hpp

View File

@ -40,8 +40,6 @@
#include <catch2/catch_objc.hpp> #include <catch2/catch_objc.hpp>
#endif #endif
#include <catch2/catch_external_interfaces.h>
#endif // ! CATCH_CONFIG_IMPL_ONLY #endif // ! CATCH_CONFIG_IMPL_ONLY
#if !defined(CATCH_CONFIG_IMPL_ONLY) #if !defined(CATCH_CONFIG_IMPL_ONLY)

View File

@ -1,20 +0,0 @@
/*
* Created by Martin on 17/08/2017.
*
* Distributed under the Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef TWOBLUECUBES_CATCH_EXTERNAL_INTERFACES_H_INCLUDED
#define TWOBLUECUBES_CATCH_EXTERNAL_INTERFACES_H_INCLUDED
#include <catch2/reporters/catch_reporter_bases.hpp>
#include <catch2/catch_console_colour.h>
#include <catch2/catch_reporter_registrars.hpp>
// Allow users to base their work off existing reporters
#include <catch2/reporters/catch_reporter_compact.h>
#include <catch2/reporters/catch_reporter_console.h>
#include <catch2/reporters/catch_reporter_junit.h>
#include <catch2/reporters/catch_reporter_xml.h>
#endif // TWOBLUECUBES_CATCH_EXTERNAL_INTERFACES_H_INCLUDED