d511be14b8ea6ce6de3723bf1cb7dffd33a09d7f
[WebKit-https.git] / Source / JavaScriptCore / PlatformMac.cmake
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)