aboutsummaryrefslogtreecommitdiff
path: root/lib/pbdrv/ext/index.dox
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-22 13:01:42 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-22 13:01:42 +0200
commitbb63040692c94ffa662b0af7eb14f3c5951aa6e6 (patch)
tree73cc719db8db857ccc012ff2002655bdad400be6 /lib/pbdrv/ext/index.dox
parentbad32f876ab99fe0820fd310a4826378d0b11fe7 (diff)
even more doxygen documentation
Diffstat (limited to 'lib/pbdrv/ext/index.dox')
-rw-r--r--lib/pbdrv/ext/index.dox24
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/pbdrv/ext/index.dox b/lib/pbdrv/ext/index.dox
new file mode 100644
index 0000000..f7d2bc6
--- /dev/null
+++ b/lib/pbdrv/ext/index.dox
@@ -0,0 +1,24 @@
+// vim:ft=doxygen
+/**
+\ingroup pbdrv
+\ingroup pbdrv-mod
+\defgroup pb_ext Extensions
+\brief Platform-specific \ref pbdrv implementations
+
+Extensions provide platform-specific implementations for various functions used
+in \ref pbdrv, and allows \ref pbdrv to remain completely portable. Extensions
+are used in both \ref pbdrv and \ref pbdrv-mod.
+
+In order to use an extension, include the appropriate CMake lists file for your
+target platform after the \ref pbdrv include:
+
+```cmake
+# include pbdrv
+add_subdirectory(lib/pbdrv)
+
+# use stdlib extension (for use with C standard library)
+include(lib/pbdrv/ext/stdlib/include.cmake)
+
+```
+
+*/