bmalloc: add logging for mmap() failures
[WebKit-https.git] / Source / bmalloc / CMakeLists.txt
1 set(bmalloc_INCLUDE_DIRECTORIES
2     "${BMALLOC_DIR}"
3 )
4
5 set(bmalloc_SOURCES
6     bmalloc/Allocator.cpp
7     bmalloc/Cache.cpp
8     bmalloc/Deallocator.cpp
9     bmalloc/Environment.cpp
10     bmalloc/FreeList.cpp
11     bmalloc/Heap.cpp
12     bmalloc/Logging.cpp
13     bmalloc/ObjectType.cpp
14     bmalloc/SegregatedFreeList.cpp
15     bmalloc/StaticMutex.cpp
16     bmalloc/VMHeap.cpp
17     bmalloc/XLargeMap.cpp
18     bmalloc/mbmalloc.cpp
19 )
20
21 set(bmalloc_LIBRARIES
22     ${CMAKE_DL_LIBS}
23 )
24
25 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
26
27 WEBKIT_WRAP_SOURCELIST(${bmalloc_SOURCES})
28 include_directories(${bmalloc_INCLUDE_DIRECTORIES})
29 add_library(bmalloc STATIC ${bmalloc_SOURCES})
30 target_link_libraries(bmalloc ${bmalloc_LIBRARIES})
31 set_target_properties(bmalloc PROPERTIES COMPILE_DEFINITIONS "BUILDING_bmalloc")