blob: 1119b3ce35c9778fc4220c7add748f91bab3365d (
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
|
SET(WTF_SOURCES
Assertions.cpp
ByteArray.cpp
CurrentTime.cpp
FastMalloc.cpp
HashTable.cpp
MainThread.cpp
MD5.cpp
RandomNumber.cpp
RefCountedLeakCounter.cpp
StringExtras.cpp
Threading.cpp
TypeTraits.cpp
WTFThreadData.cpp
dtoa.cpp
text/AtomicString.cpp
text/CString.cpp
text/StringImpl.cpp
text/StringStatics.cpp
text/WTFString.cpp
unicode/UTF8.cpp
)
SET(WTF_LIBRARIES
)
SET(WTF_PORT_FLAGS )
INCLUDE_IF_EXISTS(${JAVASCRIPTCORE_DIR}/wtf/CMakeLists${PORT}.txt)
LIST(APPEND WTF_INCLUDE_DIRECTORIES
"${CMAKE_BINARY_DIR}"
)
WEBKIT_WRAP_SOURCELIST(${WTF_SOURCES})
INCLUDE_DIRECTORIES(${WTF_INCLUDE_DIRECTORIES})
ADD_DEFINITIONS(-DBUILDING_WTF)
ADD_LIBRARY(${WTF_LIBRARY_NAME} ${WTF_LIBRARY_TYPE} ${WTF_SOURCES})
TARGET_LINK_LIBRARIES(${WTF_LIBRARY_NAME} ${WTF_LIBRARIES})
ADD_TARGET_PROPERTIES(${WTF_LIBRARY_NAME} LINK_FLAGS ${WTF_LINK_FLAGS})
IF (SHARED_CORE)
INSTALL(TARGETS ${WTF_LIBRARY_NAME} DESTINATION lib)
ENDIF ()
|