reactos/sdk/lib/ucrt/heap/heap.cmake
Timo Kreuzer 5b633d64f1 [UCRTBASE] Build without debug exports
Windows ships ucrtbase without debug exports and ucrtbased with debug exports. The wine test tests ucrtbase and loads it dynamically in some cases. Compiling it with _DEBUG requires it to be linked to ucrtbased, which causes problems, because it also dynamically loads ucrtbase, which will cause it to crash.
2025-03-24 23:02:06 +00:00

27 lines
530 B
CMake

list(APPEND UCRT_HEAP_SOURCES
heap/align.cpp
heap/calloc.cpp
heap/calloc_base.cpp
heap/expand.cpp
heap/free.cpp
heap/free_base.cpp
heap/heapchk.cpp
heap/heapmin.cpp
heap/heapwalk.cpp
heap/heap_handle.cpp
heap/malloc.cpp
heap/malloc_base.cpp
heap/msize.cpp
heap/new_handler.cpp
heap/new_mode.cpp
heap/realloc.cpp
heap/realloc_base.cpp
heap/recalloc.cpp
)
# Debug sources
list(APPEND UCRTD_HEAP_SOURCES
heap/debug_heap.cpp
heap/debug_heap_hook.cpp
)