[CMake] Make JavaScriptCore headers copies
[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_SOURCES
10     API/JSRemoteInspector.cpp
11
12     inspector/remote/RemoteAutomationTarget.cpp
13     inspector/remote/RemoteControllableTarget.cpp
14     inspector/remote/RemoteInspectionTarget.cpp
15     inspector/remote/RemoteInspector.cpp
16
17     inspector/remote/glib/RemoteConnectionToTargetGlib.cpp
18     inspector/remote/glib/RemoteInspectorGlib.cpp
19     inspector/remote/glib/RemoteInspectorServer.cpp
20     inspector/remote/glib/RemoteInspectorUtils.cpp
21 )
22
23 list(APPEND JavaScriptCore_FORWARDING_HEADERS
24     inspector/remote/glib/RemoteInspectorServer.h
25     inspector/remote/glib/RemoteInspectorUtils.h
26 )
27
28 set(WPE_INSTALLED_JAVASCRIPTCORE_HEADERS
29     API/JSBase.h
30     API/JSContextRef.h
31     API/JSObjectRef.h
32     API/JSStringRef.h
33     API/JSTypedArray.h
34     API/JSValueRef.h
35     API/JavaScript.h
36     API/WebKitAvailability.h
37 )
38
39 install(FILES ${WPE_INSTALLED_JAVASCRIPTCORE_HEADERS}
40     DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/wpe-${WPE_API_VERSION}/WPE/JavaScriptCore"
41     COMPONENT "Development"
42 )