aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-09-26 16:27:19 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-09-26 17:59:32 +0300
commit00393a40e5fdddd99c39106a0082d5f4b9b0315c (patch)
tree8a5580f7a26a548c5f53a63cb1469490b67da341 /CMakeLists.txt
parentworkflows/ci: use default clang-format (diff)
downloadwinapi-utf8-00393a40e5fdddd99c39106a0082d5f4b9b0315c.tar.gz
winapi-utf8-00393a40e5fdddd99c39106a0082d5f4b9b0315c.zip
add Doxygen docs
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b4b277b..2f6d476 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -23,3 +23,12 @@ if(WINAPI_UTF8_TESTS)
endif()
install(FILES LICENSE.txt DESTINATION share)
+
+find_package(Doxygen)
+if(DOXYGEN_FOUND)
+ set(DOXYGEN_USE_MDFILE_AS_MAINPAGE README.md)
+ set(DOXYGEN_SOURCE_BROWSER YES)
+ set(DOXYGEN_INCLUDE_GRAPH NO)
+ set(DOXYGEN_INCLUDED_BY_GRAPH NO)
+ doxygen_add_docs(docs README.md ${winapi_utf8_include} ${winapi_utf8_src})
+endif()