blob: 7efcd40159e25e97aa281e564acdee0f19736281 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
list(APPEND WTF_SOURCES
qt/MainThreadQt.cpp
qt/RunLoopQt.cpp
qt/WorkQueueQt.cpp
text/qt/StringQt.cpp
)
list(APPEND WTF_SYSTEM_INCLUDE_DIRECTORIES
${Qt5Core_INCLUDE_DIRS}
)
list(APPEND WTF_LIBRARIES
${Qt5Core_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT}
)
if (SHARED_CORE)
set(WTF_LIBRARY_TYPE SHARED)
else ()
set(WTF_LIBRARY_TYPE STATIC)
endif ()
if (QT_STATIC_BUILD)
list(APPEND WTF_LIBRARIES
${STATIC_LIB_DEPENDENCIES}
)
endif ()
if (UNIX AND NOT APPLE)
list(APPEND WTF_SOURCES
UniStdExtras.cpp
)
endif ()
if (USE_GLIB)
list(APPEND WTF_SOURCES
glib/GRefPtr.cpp
)
list(APPEND WTF_SYSTEM_INCLUDE_DIRECTORIES
${GLIB_INCLUDE_DIRS}
)
list(APPEND WTF_LIBRARIES
${GLIB_GOBJECT_LIBRARIES}
${GLIB_LIBRARIES}
)
endif ()
if (WIN32)
list(APPEND WTF_LIBRARIES
winmm
)
endif ()
if (APPLE)
list(APPEND WTF_SOURCES
text/cf/AtomicStringImplCF.cpp
text/cf/StringCF.cpp
text/cf/StringImplCF.cpp
text/cf/StringViewCF.cpp
)
list(APPEND WTF_LIBRARIES
${COREFOUNDATION_LIBRARY}
)
endif ()
|