Make AccessibilityObject::size non-virtual and fix platform accessibility code's...
[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_WEBCORE)
9     ADD_SUBDIRECTORY(WebCore)
10 ENDIF ()
11
12 IF (ENABLE_WEBKIT)
13     ADD_SUBDIRECTORY(WebKit)
14 ENDIF ()
15
16 IF (ENABLE_WEBKIT2)
17     ADD_SUBDIRECTORY(WebKit2)
18 ENDIF ()
19
20 # -----------------------------------------------------------------------------
21 # Set compiler flags for all targets
22 # -----------------------------------------------------------------------------
23 WEBKIT_SET_EXTRA_COMPILER_FLAGS(${WTF_LIBRARY_NAME})
24 WEBKIT_SET_EXTRA_COMPILER_FLAGS(${JavaScriptCore_LIBRARY_NAME})
25
26 IF (ENABLE_WEBCORE)
27     WEBKIT_SET_EXTRA_COMPILER_FLAGS(${WebCore_LIBRARY_NAME})
28 ENDIF ()
29
30 IF (ENABLE_WEBKIT)
31     WEBKIT_SET_EXTRA_COMPILER_FLAGS(${WebKit_LIBRARY_NAME})
32 ENDIF ()
33
34 IF (ENABLE_WEBKIT2)
35     WEBKIT_SET_EXTRA_COMPILER_FLAGS(${WebKit2_LIBRARY_NAME})
36 ENDIF ()
37
38 # -----------------------------------------------------------------------------
39 # Create the configuration file
40 # -----------------------------------------------------------------------------
41 CONFIGURE_FILE(cmakeconfig.h.cmake ${CMAKE_BINARY_DIR}/cmakeconfig.h @ONLY)