Split out default CATCH_CONFIG_CONSOLE_WIDTH into its own header

This means that code that uses it no longer has to include all of
catch_config.hpp, which seems to provide significant reduction in
size of unoptimized compilation of the final static library.
This commit is contained in:
Martin Hořeňovský 2020-08-01 19:09:18 +02:00
parent 8b0845b1a2
commit a4ac07d104
No known key found for this signature in database
GPG key ID: DE48307B8B0D381A
9 changed files with 17 additions and 6 deletions

View file

@ -15,10 +15,6 @@
#include <vector>
#include <string>
#ifndef CATCH_CONFIG_CONSOLE_WIDTH
#define CATCH_CONFIG_CONSOLE_WIDTH 80
#endif
namespace Catch {
struct IStream;