1 2list(APPEND SOURCE 3 Badblock.c 4 Bitmap.c 5 Disk.c 6 Group.c 7 Inode.c 8 Memory.c 9 Mke2fs.c 10 Super.c 11 Uuid.c 12 Mke2fs.h) 13 14add_library(ext2lib ${SOURCE}) 15add_pch(ext2lib Mke2fs.h SOURCE) 16add_dependencies(ext2lib psdk) 17 18if(MSVC) 19 # Disable warning C4267: '=': conversion from 'size_t' to '__u8', possible loss of data 20 target_compile_options(ext2lib PRIVATE /wd4267) 21endif() 22