Skip to content
Snippets Groups Projects
Commit 455e4515 authored by Joakim Söderberg's avatar Joakim Söderberg Committed by Andy Green
Browse files

Create the "doc" dir before generating docs.

The documentation wouldn't be generated if the path didn't exist.
parent 6ac97097
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment