3 add_subdirectory(${WEBKIT_DIR}/gtk/tests)
6 add_subdirectory(${WEBKIT2_DIR}/UIProcess/API/gtk/tests)
10 set(DocumentationDependencies
11 "${CMAKE_SOURCE_DIR}/Source/WebKit/gtk/docs/webkitenvironment.xml"
15 list(APPEND DocumentationDependencies
17 "${CMAKE_SOURCE_DIR}/Source/WebKit/gtk/docs/webkitgtk-docs.sgml"
18 "${CMAKE_SOURCE_DIR}/Source/WebKit/gtk/docs/webkitgtk-sections.txt"
23 list(APPEND DocumentationDependencies
25 "${CMAKE_SOURCE_DIR}/Source/WebKit2/UIProcess/API/gtk/docs/webkit2gtk-docs.sgml"
26 "${CMAKE_SOURCE_DIR}/Source/WebKit2/UIProcess/API/gtk/docs/webkit2gtk-sections.txt"
31 OUTPUT docs-build.stamp
32 DEPENDS ${DocumentationDependencies}
33 COMMAND CC="${CMAKE_C_COMPILER}" ${CMAKE_SOURCE_DIR}/Tools/gtk/generate-gtkdoc
34 COMMAND touch docs-build.stamp
35 WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
38 add_custom_target(fake-docs-target ALL
39 DEPENDS docs-build.stamp
43 add_dependencies(fake-docs-target WebKit)
47 add_dependencies(fake-docs-target WebKit2)