[FASTFAT_NEW] Tune compile options and definitions for debugging

This commit is contained in:
Jérôme Gardou 2020-11-30 14:17:41 +01:00
parent db34250b03
commit 57cf5cdc5d

View file

@ -38,6 +38,9 @@ list(APPEND SOURCE
add_library(fastfat MODULE ${SOURCE} fastfat.rc)
set_module_type(fastfat kernelmodedriver)
target_link_libraries(fastfat ${PSEH_LIB} memcmp)
if(GDB AND NOT CLANG)
target_compile_options(fastfat PRIVATE -O0)
endif()
add_importlibs(fastfat ntoskrnl hal)
add_pch(fastfat fatprocs.h SOURCE)
add_cd_file(TARGET fastfat DESTINATION reactos/system32/drivers NO_CAB FOR all)