]>
Commit | Line | Data |
---|---|---|
ed1e77d3 A |
1 | find_library(COCOA_LIBRARY Cocoa) |
2 | find_library(COREFOUNDATION_LIBRARY CoreFoundation) | |
3 | find_library(READLINE_LIBRARY Readline) | |
4 | list(APPEND JavaScriptCore_LIBRARIES | |
5 | ${COREFOUNDATION_LIBRARY} | |
6 | ${COCOA_LIBRARY} | |
7 | ${READLINE_LIBRARY} | |
8 | libicucore.dylib | |
9 | ) | |
10 | ||
11 | list(APPEND JavaScriptCore_SOURCES | |
12 | API/JSAPIWrapperObject.mm | |
13 | API/JSContext.mm | |
14 | API/JSManagedValue.mm | |
15 | API/JSStringRefCF.cpp | |
16 | API/JSValue.mm | |
17 | API/JSVirtualMachine.mm | |
18 | API/JSWrapperMap.mm | |
19 | API/ObjCCallbackFunction.mm | |
20 | ||
21 | inspector/remote/RemoteInspector.mm | |
22 | inspector/remote/RemoteInspectorDebuggable.cpp | |
23 | inspector/remote/RemoteInspectorDebuggableConnection.mm | |
24 | inspector/remote/RemoteInspectorXPCConnection.mm | |
25 | ) | |
26 | add_definitions(-DSTATICALLY_LINKED_WITH_WTF) | |
27 | ||
28 | add_custom_command( | |
29 | OUTPUT ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/TracingDtrace.h | |
30 | DEPENDS ${JAVASCRIPTCORE_DIR}/runtime/Tracing.d | |
31 | WORKING_DIRECTORY ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR} | |
32 | COMMAND dtrace -h -o "${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/TracingDtrace.h" -s "${JAVASCRIPTCORE_DIR}/runtime/Tracing.d"; | |
33 | VERBATIM) | |
34 | ||
35 | list(APPEND JavaScriptCore_INCLUDE_DIRECTORIES | |
36 | ${JAVASCRIPTCORE_DIR}/disassembler/udis86 | |
37 | ${JAVASCRIPTCORE_DIR}/icu | |
38 | ) | |
39 | list(APPEND JavaScriptCore_HEADERS | |
40 | ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/TracingDtrace.h | |
41 | ) |