a6cffaf450c92fabe999b39d69b35cdc4bf8c6dc
[WebKit-https.git] / Source / WTF / wtf / PlatformWin.cmake
1 list(APPEND WTF_HEADERS
2     cf/TypeCastsCF.h
3     text/win/WCharStringExtras.h
4 )
5
6 list(APPEND WTF_SOURCES
7     text/win/TextBreakIteratorInternalICUWin.cpp
8
9     win/CPUTimeWin.cpp
10     win/LanguageWin.cpp
11     win/MainThreadWin.cpp
12     win/MemoryFootprintWin.cpp
13     win/MemoryPressureHandlerWin.cpp
14     win/RunLoopWin.cpp
15     win/WorkItemContext.cpp
16     win/WorkQueueWin.cpp
17 )
18
19 if (USE_CF)
20     list(APPEND WTF_SOURCES
21         text/cf/AtomicStringImplCF.cpp
22         text/cf/StringCF.cpp
23         text/cf/StringImplCF.cpp
24         text/cf/StringViewCF.cpp
25     )
26
27     list(APPEND WTF_LIBRARIES ${COREFOUNDATION_LIBRARY})
28 endif ()
29
30 set(WTF_FORWARDING_HEADERS_DIRECTORIES
31     .
32     cf
33     dtoa
34     generic
35     persistence
36     spi
37     text
38     text/cf
39     text/icu
40     text/win
41     threads
42     unicode
43     win
44 )
45 WEBKIT_MAKE_FORWARDING_HEADERS(WTF
46     DESTINATION ${FORWARDING_HEADERS_DIR}/wtf
47     DIRECTORIES ${WTF_FORWARDING_HEADERS_DIRECTORIES})
48
49 set(WTF_OUTPUT_NAME WTF${DEBUG_SUFFIX})