mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 09:22:38 +01:00
39 lines
1.1 KiB
CMake
39 lines
1.1 KiB
CMake
cmake_minimum_required(VERSION 3.9)
|
|
find_package(Doxygen)
|
|
|
|
if(DOXYGEN_FOUND)
|
|
set(DOXYGEN_IN ${CMAKE_CURRENT_SOURCE_DIR}/../docs/Doxyfile.in)
|
|
set(DOXYGEN_OUT ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
|
|
|
|
set(DOXYGEN_PROJECT_NAME "wut")
|
|
set(DOXYGEN_PROJECT_NUMBER "0.2")
|
|
set(DOXYGEN_PROJECT_BRIEF "Wii U Toolchain")
|
|
|
|
set(DOXYGEN_GENERATE_HTML YES)
|
|
set(DOXYGEN_GENERATE_LATEX NO)
|
|
|
|
set(DOXYGEN_TAB_SIZE 3)
|
|
set(DOXYGEN_OPTIMIZE_OUTPUT_FOR_C YES)
|
|
set(DOXYGEN_INLINE_SIMPLE_STRUCTS YES)
|
|
set(DOXYGEN_EXTRACT_ALL YES)
|
|
set(DOXYGEN_HIDE_SCOPE_NAMES YES)
|
|
set(DOXYGEN_SORT_MEMBER_DOCS NO)
|
|
set(DOXYGEN_RECURSIVE YES)
|
|
set(DOXYGEN_EXCLUDE_PATTERNS
|
|
"wut_structsize.h")
|
|
set(DOXYGEN_EXCLUDE_SYMBOLS
|
|
"UNKNOWN"
|
|
"CHECK_OFFSET"
|
|
"CHECK_SIZE"
|
|
"UNKNOWN_SIZE"
|
|
"PADDING")
|
|
set(DOXYGEN_SOURCE_BROWSER YES)
|
|
set(DOXYGEN_ENUM_VALUES_PER_LINE 1)
|
|
set(DOXYGEN_CLASS_DIAGRAMS NO)
|
|
set(DOXYGEN_COLLABORATION_GRAPH NO)
|
|
|
|
doxygen_add_docs(docs
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/../include"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/../docs")
|
|
endif()
|