From 7abac6c5f90324796bf1924133c461815bed4f34 Mon Sep 17 00:00:00 2001 From: ArthurSonzogni Date: Mon, 2 Jun 2025 10:20:05 +0200 Subject: [PATCH] Add documentation + fix errors. --- cmake/ftxui_modules.cmake | 2 +- doc/Doxyfile.in | 48 +++++++++------------------------------ 2 files changed, 12 insertions(+), 38 deletions(-) diff --git a/cmake/ftxui_modules.cmake b/cmake/ftxui_modules.cmake index beb14f53..576587dd 100644 --- a/cmake/ftxui_modules.cmake +++ b/cmake/ftxui_modules.cmake @@ -53,7 +53,7 @@ target_link_libraries(ftxui-modules target_compile_features(ftxui-modules PUBLIC cxx_std_20) if (CMAKE_COMPILER_IS_GNUCXX) - target_compile_options(${name} PUBLIC -fmodules-ts) + target_compile_options(ftxui-modules PUBLIC -fmodules-ts) endif () add_library(ftxui::modules ALIAS ftxui-modules) diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in index d51bbbbf..ec7bdecb 100644 --- a/doc/Doxyfile.in +++ b/doc/Doxyfile.in @@ -345,8 +345,14 @@ OPTIMIZE_OUTPUT_SLICE = NO # # Note see also the list of default file extension mappings. -EXTENSION_MAPPING = - +EXTENSION_MAPPING = \ + c=cpp \ + cc=cpp \ + cpp=cpp \ + cxx=cpp \ + h=cpp \ + hh=cpp \ + cmake=cmake \ # If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments # according to the Markdown format, which allows for more readable @@ -958,6 +964,7 @@ INPUT = \ @CMAKE_CURRENT_SOURCE_DIR@ \ @CMAKE_SOURCE_DIR@/include \ @CMAKE_SOURCE_DIR@/src \ + @CMAKE_SOURCE_DIR@/cmake \ @CMAKE_CURRENT_BINARY_DIR@ \ @CMAKE_SOURCE_DIR@/examples \ @@ -1001,48 +1008,15 @@ INPUT_FILE_ENCODING = FILE_PATTERNS = *.c \ *.cc \ - *.cxx \ *.cpp \ - *.c++ \ - *.java \ - *.ii \ - *.ixx \ *.ipp \ - *.i++ \ *.inl \ - *.idl \ - *.ddl \ - *.odl \ *.h \ - *.hh \ - *.hxx \ *.hpp \ - *.h++ \ - *.cs \ - *.d \ - *.php \ - *.php4 \ - *.php5 \ - *.phtml \ *.inc \ - *.m \ - *.markdown \ *.md \ - *.mm \ - *.dox \ - *.py \ - *.pyw \ - *.f90 \ - *.f95 \ - *.f03 \ - *.f08 \ - *.f \ - *.for \ - *.tcl \ - *.vhd \ - *.vhdl \ - *.ucf \ - *.qsf + *.cmake \ + # The RECURSIVE tag can be used to specify whether or not subdirectories should # be searched for input files as well.