Use a full config.h with doxygen
Otherwise we get warnings that some documentation items don't have
corresponding #define, and more importantly the corresponding snippets are not
included in the output.
For that we need a modified version of the "full" argument for config.pl.
Also, the new CMakeLists.txt target only works on Unix (which was already the
case of the Makefile target). Hopefully this is not an issue as people are
unlikely to need that target on Windows.
diff --git a/Makefile b/Makefile
index 7f03115..0950e6b 100644
--- a/Makefile
+++ b/Makefile
@@ -87,7 +87,10 @@
apidoc:
mkdir -p apidoc
+ cp include/mbedtls/config.h include/mbedtls/config.h.bak
+ scripts/config.pl realfull
doxygen doxygen/mbedtls.doxyfile
+ mv include/mbedtls/config.h.bak include/mbedtls/config.h
apidoc_clean:
rm -rf apidoc