darling-WTF/wtf/PlatformWPE.cmake
2023-04-24 20:14:26 -07:00

60 lines
1.3 KiB
CMake

list(APPEND WTF_PUBLIC_HEADERS
glib/ChassisType.h
glib/GLibUtilities.h
glib/GMutexLocker.h
glib/GRefPtr.h
glib/GSocketMonitor.h
glib/GTypedefs.h
glib/GUniquePtr.h
glib/RunLoopSourcePriority.h
glib/SocketConnection.h
glib/WTFGType.h
linux/ProcessMemoryFootprint.h
linux/CurrentProcessMemoryStatus.h
)
list(APPEND WTF_SOURCES
generic/MainThreadGeneric.cpp
generic/MemoryFootprintGeneric.cpp
generic/WorkQueueGeneric.cpp
glib/ChassisType.cpp
glib/FileSystemGlib.cpp
glib/GLibUtilities.cpp
glib/GRefPtr.cpp
glib/GSocketMonitor.cpp
glib/RunLoopGLib.cpp
glib/SocketConnection.cpp
glib/URLGLib.cpp
linux/CurrentProcessMemoryStatus.cpp
posix/OSAllocatorPOSIX.cpp
posix/ThreadingPOSIX.cpp
text/unix/TextBreakIteratorInternalICUUnix.cpp
unix/CPUTimeUnix.cpp
unix/LanguageUnix.cpp
unix/MemoryPressureHandlerUnix.cpp
unix/UniStdExtrasUnix.cpp
)
list(APPEND WTF_LIBRARIES
${GLIB_GIO_LIBRARIES}
${GLIB_GOBJECT_LIBRARIES}
${GLIB_LIBRARIES}
Threads::Threads
ZLIB::ZLIB
)
if (Systemd_FOUND)
list(APPEND WTF_LIBRARIES Systemd::Systemd)
endif ()
list(APPEND WTF_SYSTEM_INCLUDE_DIRECTORIES
${GIO_UNIX_INCLUDE_DIRS}
${GLIB_INCLUDE_DIRS}
)