mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Remove obsolete surrogate TUs
They will be returned later, but better organized and covering _all_ headers.
This commit is contained in:
		| @@ -54,20 +54,6 @@ set(TEST_SOURCES | ||||
|         ) | ||||
| CheckFileList(TEST_SOURCES ${SELF_TEST_DIR}) | ||||
|  | ||||
| # A set of impl files that just #include a single header | ||||
| # Please keep these ordered alphabetically | ||||
| set(SURROGATE_SOURCES | ||||
|         ${SELF_TEST_DIR}/SurrogateCpps/catch_console_colour.cpp | ||||
|         ${SELF_TEST_DIR}/SurrogateCpps/catch_debugger.cpp | ||||
|         ${SELF_TEST_DIR}/SurrogateCpps/catch_interfaces_reporter.cpp | ||||
|         ${SELF_TEST_DIR}/SurrogateCpps/catch_option.cpp | ||||
|         ${SELF_TEST_DIR}/SurrogateCpps/catch_stream.cpp | ||||
|         ${SELF_TEST_DIR}/SurrogateCpps/catch_test_case_tracker.cpp | ||||
|         ${SELF_TEST_DIR}/SurrogateCpps/catch_test_spec.cpp | ||||
|         ${SELF_TEST_DIR}/SurrogateCpps/catch_xmlwriter.cpp | ||||
|         ) | ||||
| CheckFileList(SURROGATE_SOURCES ${SELF_TEST_DIR}/SurrogateCpps) | ||||
|  | ||||
|  | ||||
| # Specify the headers, too, so CLion recognises them as project files | ||||
| set(HEADERS | ||||
| @@ -82,7 +68,6 @@ set(HEADERS | ||||
| # Provide some groupings for IDEs | ||||
| #SOURCE_GROUP("benchmark" FILES ${BENCHMARK_HEADERS} ${BENCHMARK_SOURCES}) | ||||
| #SOURCE_GROUP("Tests" FILES ${TEST_SOURCES}) | ||||
| #SOURCE_GROUP("Surrogates" FILES ${SURROGATE_SOURCES}) | ||||
|  | ||||
| include(CTest) | ||||
|  | ||||
|   | ||||
| @@ -1,3 +0,0 @@ | ||||
| // This file is only here to verify (to the extent possible) the self sufficiency of the header | ||||
| #include <catch2/catch_suppress_warnings.h> | ||||
| #include <catch2/catch_console_colour.h> | ||||
| @@ -1,2 +0,0 @@ | ||||
| // This file is only here to verify (to the extent possible) the self sufficiency of the header | ||||
| #include <catch2/catch_debugger.h> | ||||
| @@ -1,2 +0,0 @@ | ||||
| #include <catch2/catch_suppress_warnings.h> | ||||
| #include <catch2/catch_interfaces_reporter.h> | ||||
| @@ -1,3 +0,0 @@ | ||||
| // This file is only here to verify (to the extent possible) the self sufficiency of the header | ||||
| #include <catch2/catch_suppress_warnings.h> | ||||
| #include <catch2/catch_option.hpp> | ||||
| @@ -1,3 +0,0 @@ | ||||
| // This file is only here to verify (to the extent possible) the self sufficiency of the header | ||||
| #include <catch2/catch_suppress_warnings.h> | ||||
| #include <catch2/catch_stream.h> | ||||
| @@ -1,2 +0,0 @@ | ||||
| // This file is only here to verify (to the extent possible) the self sufficiency of the header | ||||
| #include <catch2/catch_test_case_tracker.h> | ||||
| @@ -1,3 +0,0 @@ | ||||
| // This file is only here to verify (to the extent possible) the self sufficiency of the header | ||||
| #include <catch2/catch_suppress_warnings.h> | ||||
| #include <catch2/catch_test_spec.h> | ||||
| @@ -1,4 +0,0 @@ | ||||
| // This file is only here to verify (to the extent possible) the self sufficiency of the header | ||||
| #include <catch2/catch_suppress_warnings.h> | ||||
| #include <catch2/catch_xmlwriter.h> | ||||
| #include <catch2/catch_reenable_warnings.h> | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský