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ý committed 2020-08-03 22:57:43 +02:00
1 parent 8b0845b1a2
commit a4ac07d104
9 files changed
+17 -6

No files matched your search

@@ -0,0 +1,8 @@
#ifndef CATCH_CONSOLE_WIDTH_HPP_INCLUDED
#define CATCH_CONSOLE_WIDTH_HPP_INCLUDED
#ifndef CATCH_CONFIG_CONSOLE_WIDTH
#define CATCH_CONFIG_CONSOLE_WIDTH 80
#endif
#endif // CATCH_CONSOLE_WIDTH_HPP_INCLUDED