This repository was archived by the owner on Jun 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathPlatformFTW.cmake
More file actions
82 lines (67 loc) · 2.38 KB
/
PlatformFTW.cmake
File metadata and controls
82 lines (67 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
list(APPEND JavaScriptCore_SOURCES
API/JSStringRefBSTR.cpp
)
list(APPEND JavaScriptCore_PUBLIC_FRAMEWORK_HEADERS
API/JSStringRefBSTR.h
API/JavaScriptCore.h
)
if (USE_CF)
list(APPEND JavaScriptCore_SOURCES
API/JSStringRefCF.cpp
)
list(APPEND JavaScriptCore_PUBLIC_FRAMEWORK_HEADERS
API/JSStringRefCF.h
)
list(APPEND JavaScriptCore_LIBRARIES
${COREFOUNDATION_LIBRARY}
)
endif ()
if (NOT WTF_PLATFORM_WIN_CAIRO)
list(APPEND JavaScriptCore_LIBRARIES
winmm
)
endif ()
if (ENABLE_REMOTE_INSPECTOR)
list(APPEND JavaScriptCore_PRIVATE_INCLUDE_DIRECTORIES
"${JAVASCRIPTCORE_DIR}/inspector/remote/socket"
)
list(APPEND JavaScriptCore_PRIVATE_FRAMEWORK_HEADERS
inspector/remote/RemoteAutomationTarget.h
inspector/remote/RemoteConnectionToTarget.h
inspector/remote/RemoteControllableTarget.h
inspector/remote/RemoteInspectionTarget.h
inspector/remote/RemoteInspector.h
inspector/remote/socket/RemoteInspectorConnectionClient.h
inspector/remote/socket/RemoteInspectorMessageParser.h
inspector/remote/socket/RemoteInspectorServer.h
inspector/remote/socket/RemoteInspectorSocket.h
inspector/remote/socket/RemoteInspectorSocketEndpoint.h
)
list(APPEND JavaScriptCore_SOURCES
API/JSRemoteInspector.cpp
inspector/remote/RemoteAutomationTarget.cpp
inspector/remote/RemoteConnectionToTarget.cpp
inspector/remote/RemoteControllableTarget.cpp
inspector/remote/RemoteInspectionTarget.cpp
inspector/remote/RemoteInspector.cpp
inspector/remote/socket/RemoteInspectorConnectionClient.cpp
inspector/remote/socket/RemoteInspectorMessageParser.cpp
inspector/remote/socket/RemoteInspectorServer.cpp
inspector/remote/socket/RemoteInspectorSocket.cpp
inspector/remote/socket/RemoteInspectorSocketEndpoint.cpp
inspector/remote/socket/win/RemoteInspectorSocketWin.cpp
)
list(APPEND JavaScriptCore_PRIVATE_LIBRARIES
ws2_32
)
else ()
list(REMOVE_ITEM JavaScriptCore_SOURCES
inspector/JSGlobalObjectInspectorController.cpp
)
endif ()
file(COPY
"${JAVASCRIPTCORE_DIR}/JavaScriptCore.vcxproj/JavaScriptCore.resources"
DESTINATION
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
)
set(JavaScriptCore_OUTPUT_NAME JavaScriptCore${DEBUG_SUFFIX})