src/cpp-common: add {fmt} 10.1.1
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 14 Nov 2023 17:06:29 +0000 (12:06 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 14 Dec 2023 15:57:04 +0000 (10:57 -0500)
commit7f66516e9046d905f08f55575fe801d5646745d5
tree0d1c2fffe4721d55c154a11bd01649ce76c55b09
parent71436ae48cd2fcfcc59ae9a7da909e29a191145c
src/cpp-common: add {fmt} 10.1.1

This very famous library [1] should be useful to format all sorts of
strings in the future instead of using `std::string` or
`std::ostringstream`, as well as to implement a C++ logger.

We're building `format.cc` and `os.cc` which should speed up the rest of
the build and maybe reduce the build size (not using `FMT_HEADER_ONLY`).

Adding `.reuse/dep5` to provide licensing information for all the source
files in `src/cpp-common/vendor/fmt` without modifying the original
ones.

[1]: https://fmt.dev/

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I65cfbca05e5481847ce7183a2a2b20c25ae260ad
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11387
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
CI-Build: Simon Marchi <simon.marchi@efficios.com>
17 files changed:
.reuse/dep5 [new file with mode: 0644]
src/Makefile.am
src/cpp-common/vendor/fmt/args.h [new file with mode: 0644]
src/cpp-common/vendor/fmt/chrono.h [new file with mode: 0644]
src/cpp-common/vendor/fmt/color.h [new file with mode: 0644]
src/cpp-common/vendor/fmt/compile.h [new file with mode: 0644]
src/cpp-common/vendor/fmt/core.h [new file with mode: 0644]
src/cpp-common/vendor/fmt/format-inl.h [new file with mode: 0644]
src/cpp-common/vendor/fmt/format.cc [new file with mode: 0644]
src/cpp-common/vendor/fmt/format.h [new file with mode: 0644]
src/cpp-common/vendor/fmt/os.cc [new file with mode: 0644]
src/cpp-common/vendor/fmt/os.h [new file with mode: 0644]
src/cpp-common/vendor/fmt/ostream.h [new file with mode: 0644]
src/cpp-common/vendor/fmt/printf.h [new file with mode: 0644]
src/cpp-common/vendor/fmt/ranges.h [new file with mode: 0644]
src/cpp-common/vendor/fmt/std.h [new file with mode: 0644]
src/cpp-common/vendor/fmt/xchar.h [new file with mode: 0644]
This page took 0.029812 seconds and 4 git commands to generate.