cmDocumentationEntry.h 571 B

1234567891011121314151617181920212223
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #pragma once
  4. #include "cmConfigure.h" // IWYU pragma: keep
  5. #include <string>
  6. /** Standard documentation entry for cmDocumentation's formatting. */
  7. struct cmDocumentationEntry
  8. {
  9. #if __cplusplus <= 201103L
  10. cmDocumentationEntry(const std::string& name, const std::string& brief)
  11. : Name{ name }
  12. , Brief{ brief }
  13. {
  14. }
  15. #endif
  16. std::string Name = {};
  17. std::string Brief = {};
  18. char CustomNamePrefix = ' ';
  19. };