From 21b24e83262b6ba2b70011ee7c2625ea057988f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Wed, 12 Feb 2020 16:57:15 +0100 Subject: [PATCH] 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. --- src/CMakeLists.txt | 1 - src/catch2/catch.hpp | 2 -- src/catch2/catch_external_interfaces.h | 20 -------------------- 3 files changed, 23 deletions(-) delete mode 100644 src/catch2/catch_external_interfaces.h diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5ccdeb69..d1cde1b7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -55,7 +55,6 @@ set(INTERNAL_HEADERS ${SOURCES_DIR}/catch_enum_values_registry.h ${SOURCES_DIR}/catch_errno_guard.h ${SOURCES_DIR}/catch_exception_translator_registry.h - ${SOURCES_DIR}/catch_external_interfaces.h ${SOURCES_DIR}/catch_fatal_condition.h ${SOURCES_DIR}/catch_generators.hpp ${SOURCES_DIR}/catch_generators_generic.hpp diff --git a/src/catch2/catch.hpp b/src/catch2/catch.hpp index 9e2e690a..7a6a7175 100644 --- a/src/catch2/catch.hpp +++ b/src/catch2/catch.hpp @@ -40,8 +40,6 @@ #include #endif -#include - #endif // ! CATCH_CONFIG_IMPL_ONLY #if !defined(CATCH_CONFIG_IMPL_ONLY) diff --git a/src/catch2/catch_external_interfaces.h b/src/catch2/catch_external_interfaces.h deleted file mode 100644 index 94704fdd..00000000 --- a/src/catch2/catch_external_interfaces.h +++ /dev/null @@ -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 -#include -#include - -// Allow users to base their work off existing reporters -#include -#include -#include -#include - -#endif // TWOBLUECUBES_CATCH_EXTERNAL_INTERFACES_H_INCLUDED