diff options
| author | Martin Hořeňovský | 2020-08-01 19:09:18 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-08-03 22:57:43 +0200 |
| commit | a4ac07d1049e8cafdd5b9ab551055a6bddcc132d (patch) | |
| tree | 46056b77e29c6ac6330c22ecc524c92d0194e521 /src/catch2/internal/catch_console_width.hpp | |
| parent | 8b0845b1a2a95a3546ccd9ef8c8929aef5256310 (diff) | |
| download | catch3-a4ac07d1049e8cafdd5b9ab551055a6bddcc132d.tar.gz | |
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.
Diffstat (limited to 'src/catch2/internal/catch_console_width.hpp')
| -rw-r--r-- | src/catch2/internal/catch_console_width.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/catch2/internal/catch_console_width.hpp b/src/catch2/internal/catch_console_width.hpp new file mode 100644 index 00000000..8bb3b83a --- /dev/null +++ b/src/catch2/internal/catch_console_width.hpp @@ -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
\ No newline at end of file |