forked from qt-creator/qt-creator
This way one could easily test the CMake auto-setup package manager with a vcpkg setup. Setting vcpkg is as easy as: > git clone https://github.com/microsoft/vcpkg > .\vcpkg\bootstrap-vcpkg.bat Then you need to have vcpkg in the PATH environment variable. (PATH=${PATH};c:\projects\vcpkg in Preferences -> Environment) Change-Id: I0bdc268121c7488c5d2442fd4b40c9ea3b182501 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", "世界");
|
|
}
|