[GTK] WebKitWebView::load-failed-with-tls-errors should receive the failing URI inste...
[WebKit-https.git] / Source / CMakeLists.txt
1 # -----------------------------------------------------------------------------
2 # Add module directories
3 # -----------------------------------------------------------------------------
4 add_subdirectory(WTF)
5
6 add_subdirectory(JavaScriptCore)
7
8 if (ENABLE_API_TESTS)
9     add_subdirectory(cmake/gtest)
10 endif ()
11
12 if (ENABLE_WEBCORE)
13     add_subdirectory(WebCore)
14 endif ()
15
16 if (ENABLE_WEBKIT)
17     add_subdirectory(WebKit)
18 endif ()
19
20 if (ENABLE_WEBKIT2)
21     add_subdirectory(WebKit2)
22 endif ()
23
24 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
25
26 # -----------------------------------------------------------------------------
27 # Set compiler flags for all targets
28 # -----------------------------------------------------------------------------
29 WEBKIT_SET_EXTRA_COMPILER_FLAGS(WTF ${ADDITIONAL_COMPILER_FLAGS})
30 WEBKIT_SET_EXTRA_COMPILER_FLAGS(JavaScriptCore ${ADDITIONAL_COMPILER_FLAGS})
31
32 if (ENABLE_WEBCORE)
33     WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebCoreTestSupport ${ADDITIONAL_COMPILER_FLAGS})
34     WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebCore ${ADDITIONAL_COMPILER_FLAGS})
35 endif ()
36
37 if (ENABLE_WEBKIT)
38     WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebKit ${ADDITIONAL_COMPILER_FLAGS})
39 endif ()
40
41 if (ENABLE_WEBKIT2)
42     WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebKit2 ${ADDITIONAL_COMPILER_FLAGS})
43 endif ()
44
45 # -----------------------------------------------------------------------------
46 # Create the configuration file
47 # -----------------------------------------------------------------------------
48 configure_file(cmakeconfig.h.cmake ${CMAKE_BINARY_DIR}/cmakeconfig.h @ONLY)