1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

Generate the API documentation in a reproducible way.

Sort the list of source files before passing them to the kernel-doc
script so that it always outputs the discovered functions and
structures in the same order.
This commit is contained in:
Peter Pentchev 2016-01-17 02:03:10 +02:00 committed by Andy Green
parent 9a9d5eaeeb
commit 2a0dbcf7ee

View file

@ -977,6 +977,7 @@ if (UNIX)
# TODO: Fix this on Windows.
message("Generating API documentation")
file(GLOB C_FILES "${PROJECT_SOURCE_DIR}/lib/*.c")
list(SORT C_FILES)
execute_process(COMMAND "${CMAKE_COMMAND}" -E make_directory "${PROJECT_BINARY_DIR}/doc/")
execute_process(