🎉 init(cmake): init modern cmake template
This commit is contained in:
5
docs/CMakeLists.txt
Normal file
5
docs/CMakeLists.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
set(DOXYGEN_EXTRACT_ALL YES)
|
||||
set(DOXYGEN_BUILTIN_STL_SUPPORT YES)
|
||||
|
||||
doxygen_add_docs(docs modern/lib.hpp "${CMAKE_CURRENT_SOURCE_DIR}/mainpage.md"
|
||||
WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/include")
|
11
docs/mainpage.md
Normal file
11
docs/mainpage.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Documentation for Modern Library {#mainpage}
|
||||
|
||||
This is the documentation for my simple example library.
|
||||
|
||||
It is good documentation because:
|
||||
|
||||
1. It exists.
|
||||
2. I wrote it.
|
||||
3. Everything is documented (pretty easy since there's only one function)
|
||||
|
||||
The single provided function is `::accumulate_vector`.
|
Reference in New Issue
Block a user