mirror of
https://github.com/reactos/reactos.git
synced 2025-06-30 03:31:21 +00:00

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.
27 lines
530 B
CMake
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
|
|
)
|