Web Inspector: Storage: values truncated in Local/Session table
[WebKit-https.git] / Source / cmake / GtkDoc.cmake
1 # Calls scripts to generate documentation using GTK-Doc.
2 # DocumentationDependencies variable must be set before calling this macro.
3 macro(ADD_GTKDOC_GENERATOR _stamp_name _extra_args)
4     add_custom_command(
5         OUTPUT "${CMAKE_BINARY_DIR}/${_stamp_name}"
6         DEPENDS ${DocumentationDependencies}
7         COMMAND ${CMAKE_COMMAND} -E env "CC=${CMAKE_C_COMPILER}" "CFLAGS=${CMAKE_C_FLAGS} -Wno-unused-parameter" ${CMAKE_SOURCE_DIR}/Tools/gtkdoc/generate-gtkdoc ${_extra_args}
8         COMMAND touch ${_stamp_name}
9         WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
10         VERBATIM
11     )
12 endmacro()