Occasional null deref in WebImmediateActionController
[WebKit-https.git] / Source / WebKit / CMakeLists.txt
1 set(WebKit_SOURCES
2 )
3
4 set(WebKit_INCLUDE_DIRECTORIES
5     "${CMAKE_BINARY_DIR}"
6     "${CMAKE_SOURCE_DIR}/Source"
7     "${DERIVED_SOURCES_DIR}"
8     "${DERIVED_SOURCES_DIR}/ForwardingHeaders"
9     "${DERIVED_SOURCES_DIR}/ForwardingHeaders/JavaScriptCore"
10     "${DERIVED_SOURCES_DIR}/ForwardingHeaders/WebCore"
11     "${DERIVED_SOURCES_DIR}/ForwardingHeaders/WebKitLegacy"
12     "${JAVASCRIPTCORE_DIR}"
13     "${JAVASCRIPTCORE_DIR}/disassembler"
14     "${WTF_DIR}"
15 )
16
17 set(WebKit_LIBRARIES
18     JavaScriptCore
19     WTF
20     WebCore
21 )
22
23 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
24
25 include_directories(${WebKit_INCLUDE_DIRECTORIES})
26
27 if (MSVC)
28     ADD_PRECOMPILED_HEADER("WebKitPrefix.h" "win/WebKitPrefix.cpp" WebKit_SOURCES)
29 endif ()
30
31 add_library(WebKit ${WebKit_LIBRARY_TYPE} ${WebKit_SOURCES})
32 add_dependencies(WebKit WebCore)
33 target_link_libraries(WebKit ${WebKit_LIBRARIES})
34 set_target_properties(WebKit PROPERTIES FOLDER "WebKit")
35
36 if (WebKit_OUTPUT_NAME)
37     set_target_properties(WebKit PROPERTIES OUTPUT_NAME ${WebKit_OUTPUT_NAME})
38 endif ()
39
40 POPULATE_LIBRARY_VERSION(WEBKIT)
41 set_target_properties(WebKit PROPERTIES VERSION ${WEBKIT_VERSION} SOVERSION ${WEBKIT_VERSION_MAJOR})
42 install(TARGETS WebKit DESTINATION "${LIB_INSTALL_DIR}")