9a23080120a8a432142f57c25c82376485fdffc2
[WebKit-https.git] / Source / JavaScriptCore / PlatformWPE.cmake
1 list(APPEND JavaScriptCore_LIBRARIES
2     ${GLIB_LIBRARIES}
3 )
4
5 list(APPEND JavaScriptCore_SYSTEM_INCLUDE_DIRECTORIES
6     ${GLIB_INCLUDE_DIRS}
7 )
8
9 list(APPEND JavaScriptCore_INCLUDE_DIRECTORIES
10     ${WTF_DIR}
11 )
12
13 list(APPEND JavaScriptCore_SOURCES
14     API/JSRemoteInspector.cpp
15
16     inspector/remote/RemoteAutomationTarget.cpp
17     inspector/remote/RemoteControllableTarget.cpp
18     inspector/remote/RemoteInspectionTarget.cpp
19     inspector/remote/RemoteInspector.cpp
20
21     inspector/remote/glib/RemoteConnectionToTargetGlib.cpp
22     inspector/remote/glib/RemoteInspectorGlib.cpp
23     inspector/remote/glib/RemoteInspectorServer.cpp
24     inspector/remote/glib/RemoteInspectorUtils.cpp
25 )
26
27 set(WPE_INSTALLED_JAVASCRIPTCORE_HEADERS
28     API/JSBase.h
29     API/JSContextRef.h
30     API/JSObjectRef.h
31     API/JSStringRef.h
32     API/JSTypedArray.h
33     API/JSValueRef.h
34     API/JavaScript.h
35     API/WebKitAvailability.h
36 )
37
38 install(FILES ${WPE_INSTALLED_JAVASCRIPTCORE_HEADERS}
39     DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/wpe-${WPE_API_VERSION}/WPE/JavaScriptCore"
40     COMPONENT "Development"
41 )