1list(APPEND SOURCE 2 acchksup.c 3 allocsup.c 4 cachesup.c 5 cleanup.c 6 close.c 7 create.c 8 devctrl.c 9 deviosup.c 10 dirctrl.c 11 dirsup.c 12 dumpsup.c 13 ea.c 14 easup.c 15 fatdata.c 16 fatinit.c 17 fatprocssrc.c 18 fileinfo.c 19 filobsup.c 20 flush.c 21 fsctrl.c 22 fspdisp.c 23 lockctrl.c 24 namesup.c 25 pnp.c 26 read.c 27 resrcsup.c 28 shutdown.c 29 splaysup.c 30 strucsup.c 31 timesup.c 32 verfysup.c 33 volinfo.c 34 workque.c 35 write.c 36 fatprocs.h) 37 38add_library(fastfat MODULE ${SOURCE} fastfat.rc) 39set_module_type(fastfat kernelmodedriver) 40target_link_libraries(fastfat ${PSEH_LIB} memcmp) 41if(GDB AND NOT CMAKE_C_COMPILER_ID STREQUAL "Clang") 42 target_compile_options(fastfat PRIVATE -O0) 43endif() 44add_importlibs(fastfat ntoskrnl hal) 45add_pch(fastfat fatprocs.h SOURCE) 46add_cd_file(TARGET fastfat DESTINATION reactos/system32/drivers NO_CAB FOR all) 47