aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 035ea3a..86ca24a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,3 +29,14 @@ if(WINAPI_COMMON_TESTS)
endif()
install(FILES LICENSE.txt DESTINATION share)
+
+find_package(Doxygen)
+if(DOXYGEN_FOUND)
+ set(DOXYGEN_INCLUDE_GRAPH NO)
+ set(DOXYGEN_INCLUDED_BY_GRAPH NO)
+ set(DOXYGEN_SHOW_INCLUDE_FILES NO)
+ set(DOXYGEN_SORT_MEMBER_DOCS NO)
+ set(DOXYGEN_SOURCE_BROWSER YES)
+ set(DOXYGEN_USE_MDFILE_AS_MAINPAGE README.md)
+ doxygen_add_docs(docs README.md ${winapi_common_include} ${winapi_common_src})
+endif()