WTF should know about Language
[WebKit-https.git] / Source / WTF / wtf / PlatformMac.cmake
1 set(WTF_LIBRARY_TYPE STATIC)
2
3 find_library(COCOA_LIBRARY Cocoa)
4 find_library(COREFOUNDATION_LIBRARY CoreFoundation)
5 find_library(READLINE_LIBRARY Readline)
6 list(APPEND WTF_LIBRARIES
7     ${COREFOUNDATION_LIBRARY}
8     ${COCOA_LIBRARY}
9     ${READLINE_LIBRARY}
10     libicucore.dylib
11 )
12
13 list(APPEND WTF_SOURCES
14     AutodrainedPoolMac.mm
15     BlockObjCExceptions.mm
16     PlatformUserPreferredLanguagesMac.mm
17     RunLoopTimerCF.cpp
18     SchedulePairCF.cpp
19     SchedulePairMac.mm
20
21     cf/RunLoopCF.cpp
22
23     cocoa/WorkQueueCocoa.cpp
24
25     mac/DeprecatedSymbolsUsedBySafari.mm
26     mac/MainThreadMac.mm
27
28     text/cf/AtomicStringImplCF.cpp
29     text/cf/StringCF.cpp
30     text/cf/StringImplCF.cpp
31     text/cf/StringViewCF.cpp
32
33     text/mac/StringImplMac.mm
34     text/mac/StringMac.mm
35     text/mac/StringViewObjC.mm
36 )
37
38 list(APPEND WTF_INCLUDE_DIRECTORIES
39     "${WTF_DIR}/icu"
40     "${WTF_DIR}/wtf/spi/darwin"
41 )