diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-09-26 16:27:19 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-09-26 17:59:32 +0300 |
commit | 00393a40e5fdddd99c39106a0082d5f4b9b0315c (patch) | |
tree | 8a5580f7a26a548c5f53a63cb1469490b67da341 /CMakeLists.txt | |
parent | workflows/ci: use default clang-format (diff) | |
download | winapi-utf8-00393a40e5fdddd99c39106a0082d5f4b9b0315c.tar.gz winapi-utf8-00393a40e5fdddd99c39106a0082d5f4b9b0315c.zip |
add Doxygen docs
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 9 |
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() |