cmake/Source/cmDocumentationEntry.h

24 lines
571 B
C
Raw Normal View History

2016-10-30 18:24:19 +01:00
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
2021-09-14 00:13:48 +02:00
#pragma once
2016-10-30 18:24:19 +01:00
2017-07-20 19:35:53 +02:00
#include "cmConfigure.h" // IWYU pragma: keep
2016-10-30 18:24:19 +01:00
#include <string>
/** Standard documentation entry for cmDocumentation's formatting. */
struct cmDocumentationEntry
{
2023-05-23 16:38:00 +02:00
#if __cplusplus <= 201103L
cmDocumentationEntry(const std::string& name, const std::string& brief)
: Name{ name }
, Brief{ brief }
2016-10-30 18:24:19 +01:00
{
}
2023-05-23 16:38:00 +02:00
#endif
std::string Name = {};
std::string Brief = {};
char CustomNamePrefix = ' ';
2016-10-30 18:24:19 +01:00
};