From ccba9bc42d25b79044cebee52a131a7fb2268e18 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Wed, 5 Jan 2011 15:30:32 +0000
Subject: [PATCH] - Added CMake target "apidoc" for creating Doxygen API
documentation
---
CMakeLists.txt | 4 ++++
Doxyfile | 4 ++++
2 files changed, 8 insertions(+)
create mode 100644 Doxyfile
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3d42fa4b5..bb858e851 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,3 +17,7 @@ add_subdirectory(library)
add_subdirectory(include)
add_subdirectory(tests)
add_subdirectory(programs)
+
+ADD_CUSTOM_TARGET(apidoc
+ COMMAND doxygen Doxyfile
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
diff --git a/Doxyfile b/Doxyfile
new file mode 100644
index 000000000..5110c672f
--- /dev/null
+++ b/Doxyfile
@@ -0,0 +1,4 @@
+PROJECT_NAME = PolarSSL
+INPUT = include/polarssl
+HTML_OUTPUT = apidoc
+GENERATE_LATEX = NO