doc: add Doxygen build system

- add Doxygen build configuration file template and CMake list file.
- add option for building documentation.
- the content of documentation should be filled in future.
This commit is contained in:
2024-06-12 15:48:20 +08:00
parent b6c53ac707
commit ab12268395
6 changed files with 2806 additions and 0 deletions

View File

@ -6,12 +6,16 @@ project(YYCC
# Provide options
option(YYCC_BUILD_TESTBENCH "Build testbench of YYCCommonplace." OFF)
option(YYCC_BUILD_DOC "Build document of YYCCommonplace." OFF)
# Import 2 build targets
add_subdirectory(src)
if (YYCC_BUILD_TESTBENCH)
add_subdirectory(testbench)
endif ()
if (YYCC_BUILD_DOC)
add_subdirectory(doc)
endif ()
# Install project package infos
# Package target