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 pathPlatformPlayStation.cmake
More file actions
69 lines (58 loc) · 2.43 KB
/
PlatformPlayStation.cmake
File metadata and controls
69 lines (58 loc) · 2.43 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
list(APPEND JavaScriptCore_PUBLIC_FRAMEWORK_HEADERS
API/JSRemoteInspectorServer.h
)
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
API/JSRemoteInspectorServer.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/posix/RemoteInspectorSocketPOSIX.cpp
)
if (${CMAKE_GENERATOR} MATCHES "Visual Studio")
# With the VisualStudio generator, the compiler complains about -std=c++* for C sources.
set_source_files_properties(
disassembler/udis86/udis86.c
disassembler/udis86/udis86_decode.c
disassembler/udis86/udis86_itab_holder.c
disassembler/udis86/udis86_syn-att.c
disassembler/udis86/udis86_syn-intel.c
disassembler/udis86/udis86_syn.c
PROPERTIES LANGUAGE CXX
)
endif ()
# This overrides the default x64 value of 1GB for the memory pool size
add_definitions(-DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=64)
# Both bmalloc and WTF are built as object libraries. The WebKit:: interface
# targets are used. A limitation of that is the object files are not propagated
# so they are added here.
list(APPEND JavaScriptCore_PRIVATE_LIBRARIES
$<TARGET_OBJECTS:WTF>
$<TARGET_OBJECTS:bmalloc>
)
list(APPEND JavaScriptCore_PRIVATE_DEFINITIONS
STATICALLY_LINKED_WITH_WTF
STATICALLY_LINKED_WITH_bmalloc
)