Modern IDB: Support populating/extracting database metadata with SQLite backend.
[WebKit-https.git] / Source / CMakeLists.txt
1 # -----------------------------------------------------------------------------
2 # Add module directories
3 # -----------------------------------------------------------------------------
4 if (NOT USE_SYSTEM_MALLOC)
5     add_subdirectory(bmalloc)
6 endif ()
7
8 add_subdirectory(WTF)
9
10 add_subdirectory(JavaScriptCore)
11
12 add_subdirectory(WebCore)
13
14 if (WIN32 AND ENABLE_GRAPHICS_CONTEXT_3D)
15     add_subdirectory(ThirdParty/ANGLE)
16 endif ()
17
18 if (ENABLE_API_TESTS)
19     add_subdirectory(ThirdParty/gtest)
20 endif ()
21
22 if (ENABLE_WEBKIT)
23     add_subdirectory(WebKit)
24 endif ()
25
26 if (ENABLE_WEBKIT2)
27     add_subdirectory(WebKit2)
28 endif ()
29
30 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
31
32 # -----------------------------------------------------------------------------
33 # Set compiler flags for all targets
34 # -----------------------------------------------------------------------------
35 if (NOT USE_SYSTEM_MALLOC)
36     WEBKIT_SET_EXTRA_COMPILER_FLAGS(bmalloc ${ADDITIONAL_COMPILER_FLAGS})
37 endif ()
38 WEBKIT_SET_EXTRA_COMPILER_FLAGS(WTF ${ADDITIONAL_COMPILER_FLAGS})
39 WEBKIT_SET_EXTRA_COMPILER_FLAGS(JavaScriptCore ${ADDITIONAL_COMPILER_FLAGS})
40 WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebCoreTestSupport ${ADDITIONAL_COMPILER_FLAGS})
41 WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebCore ${ADDITIONAL_COMPILER_FLAGS})
42
43 if (ENABLE_WEBKIT)
44     WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebKit ${ADDITIONAL_COMPILER_FLAGS})
45 endif ()
46
47 if (ENABLE_WEBKIT2)
48     WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebKit2 ${ADDITIONAL_COMPILER_FLAGS})
49 endif ()