forked from qt-creator/qt-creator
This way one could easily test the CMake auto-setup package manager with a conan setup. Change-Id: I4d8e7ab0b5cf84caf95d454358e1409658bd689a Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
11 lines
382 B
C++
11 lines
382 B
C++
#include <fmt/color.h>
|
|
|
|
int main() {
|
|
fmt::print(fg(fmt::color::crimson) | fmt::emphasis::bold,
|
|
"Hello, {}!\n", "world");
|
|
fmt::print(fg(fmt::color::floral_white) | bg(fmt::color::slate_gray) |
|
|
fmt::emphasis::underline, "Hello, {}!\n", "мир");
|
|
fmt::print(fg(fmt::color::steel_blue) | fmt::emphasis::italic,
|
|
"Hello, {}!\n", "世界");
|
|
}
|