mirror of
https://github.com/reactos/reactos.git
synced 2025-06-30 05:51:24 +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.
33 lines
663 B
CMake
33 lines
663 B
CMake
|
|
list(APPEND UCRT_MISC_SOURCES
|
|
misc/chdir.cpp
|
|
misc/crtmbox.cpp
|
|
misc/drive.cpp
|
|
misc/drivemap.cpp
|
|
misc/drivfree.cpp
|
|
misc/errno.cpp
|
|
misc/exception_filter.cpp
|
|
misc/getcwd.cpp
|
|
misc/getpid.cpp
|
|
misc/invalid_parameter.cpp
|
|
misc/is_wctype.cpp
|
|
misc/perror.cpp
|
|
misc/resetstk.cpp
|
|
misc/seterrm.cpp
|
|
misc/set_error_mode.cpp
|
|
misc/signal.cpp
|
|
misc/slbeep.cpp
|
|
misc/strerror.cpp
|
|
misc/syserr.cpp
|
|
misc/systime.cpp
|
|
misc/terminate.cpp
|
|
misc/wperror.cpp
|
|
misc/_strerr.cpp
|
|
)
|
|
|
|
# Debug sources
|
|
list(APPEND UCRTD_MISC_SOURCES
|
|
misc/dbgrpt.cpp
|
|
misc/dbgrptt.cpp
|
|
misc/debug_fill_threshold.cpp
|
|
)
|