mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Modified generateSingleHeader script to work with .cpp files better
Also fixed the scripts to take into account renamed version file
This commit is contained in:
		| @@ -21,31 +21,9 @@ | ||||
| #include "catch_test_spec.hpp" | ||||
| #include "catch_test_case_tracker.hpp" | ||||
|  | ||||
| // These files are not included in the full (not single include) project | ||||
| // as they are compiled as proper cpp files | ||||
| #ifndef CATCH_CONFIG_FULL_PROJECT | ||||
| #   include "catch_assertionresult.cpp" | ||||
| #   include "catch_common.cpp" | ||||
| #   include "catch_console_colour.cpp" | ||||
| #   include "catch_context.cpp" | ||||
| #   include "catch_debugger.cpp" | ||||
| #   include "catch_matchers_string.cpp" | ||||
| #   include "catch_message.cpp" | ||||
| #   include "catch_notimplemented_exception.cpp" | ||||
| #   include "catch_registry_hub.cpp" | ||||
| #   include "catch_result_builder.hpp" | ||||
| #   include "catch_section.cpp" | ||||
| #   include "catch_startup_exception_registry.cpp" | ||||
| #   include "catch_stringref.cpp" | ||||
| #   include "catch_string.cpp" | ||||
| #   include "catch_stringbuilder.cpp" | ||||
| #   include "catch_stringdata.cpp" | ||||
| #   include "catch_tag_alias_registry.cpp" | ||||
| #   include "catch_test_case_info.cpp" | ||||
| #   include "catch_timer.cpp" | ||||
| #   include "catch_tostring.cpp" | ||||
| #   include "catch_version.cpp" | ||||
| #endif | ||||
| // Cpp files will be included in the single-header file here | ||||
| // ~*~* CATCH_CPP_STITCH_PLACE *~*~ | ||||
|  | ||||
|  | ||||
| #include "../reporters/catch_reporter_multi.hpp" | ||||
| #include "../reporters/catch_reporter_xml.hpp" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský