mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
Create the "doc" dir before generating docs.
The documentation wouldn't be generated if the path didn't exist.
This commit is contained in:
parent
6ac9709790
commit
455e45150a
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue