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:
parent
9a9d5eaeeb
commit
2a0dbcf7ee
1 changed files with 1 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue