projects
/
profile
/
ivi
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1c3cd8
)
Create the "doc" dir before generating docs.
28/3128/1
author
Joakim Söderberg
<joakim.soderberg@gmail.com>
Tue, 19 Feb 2013 02:14:54 +0000
(10:14 +0800)
committer
Kevron Rees
<kevron_m_rees@linux.intel.com>
Thu, 7 Mar 2013 21:01:37 +0000
(13:01 -0800)
The documentation wouldn't be generated if the path didn't exist.
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
1da9c72
..
3bb6c6d
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-609,6
+609,8
@@
if (UNIX)
# TODO: Fix this on Windows.
message("Generating API documentation")
file(GLOB C_FILES ${PROJECT_SOURCE_DIR}/lib/*.c)
+ execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory ${PROJECT_BINARY_DIR}/doc/)
+
execute_process(
COMMAND ${PROJECT_SOURCE_DIR}/scripts/kernel-doc -html ${C_FILES} ${HDR_PUBLIC}
OUTPUT_FILE ${PROJECT_BINARY_DIR}/doc/libwebsockets-api-doc.html