Files
CMake/Source/cmMessageMetadata.h
Brad King 509c424472 StdIo: Replace uses of KWSys Terminal with StdIo::Print
The latter:

* uses a type-safe representation of text attributes,

* works with `StdIo::Console` to print arbitrary UTF-8 text in color, and

* writes VT100 sequences to Windows Consoles when supported, eliminating
  racy console text attribute changes in parallel `make` output.

Fixes: #22450, #26689, #26924
2025-05-19 08:19:10 -04:00

12 lines
313 B
C

/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file LICENSE.rst or https://cmake.org/licensing for details. */
#pragma once
#include "cmStdIoTerminal.h"
struct cmMessageMetadata
{
char const* title = nullptr;
cm::StdIo::TermAttrSet attrs = cm::StdIo::TermAttr::Normal;
};