[CMake] Make WTF headers copies
[WebKit-https.git] / Source / WTF / wtf / PlatformGTK.cmake
1 set(WTF_OUTPUT_NAME WTFGTK)
2
3 list(APPEND WTF_HEADERS
4     glib/GLibUtilities.h
5     glib/GMutexLocker.h
6     glib/GRefPtr.h
7     glib/GTypedefs.h
8     glib/GUniquePtr.h
9     glib/RunLoopSourcePriority.h
10     glib/WTFGType.h
11
12     linux/CurrentProcessMemoryStatus.h
13 )
14
15 list(APPEND WTF_SOURCES
16     UniStdExtras.cpp
17
18     generic/MainThreadGeneric.cpp
19     generic/WorkQueueGeneric.cpp
20
21     glib/GLibUtilities.cpp
22     glib/GRefPtr.cpp
23     glib/RunLoopGLib.cpp
24
25     linux/CurrentProcessMemoryStatus.cpp
26     linux/MemoryFootprintLinux.cpp
27     linux/MemoryPressureHandlerLinux.cpp
28
29     text/unix/TextBreakIteratorInternalICUUnix.cpp
30
31     unix/CPUTimeUnix.cpp
32     unix/LanguageUnix.cpp
33 )
34
35 list(APPEND WTF_LIBRARIES
36     ${CMAKE_THREAD_LIBS_INIT}
37     ${GLIB_GIO_LIBRARIES}
38     ${GLIB_GOBJECT_LIBRARIES}
39     ${GLIB_LIBRARIES}
40     ${ZLIB_LIBRARIES}
41 )
42
43 list(APPEND WTF_SYSTEM_INCLUDE_DIRECTORIES
44     ${GLIB_INCLUDE_DIRS}
45 )