2 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers
12 src/ext4/ext4_extents.c
44 src/nls/nls_iso8859-1.c
45 src/nls/nls_iso8859-2.c
46 src/nls/nls_iso8859-3.c
47 src/nls/nls_iso8859-4.c
48 src/nls/nls_iso8859-5.c
49 src/nls/nls_iso8859-6.c
50 src/nls/nls_iso8859-7.c
51 src/nls/nls_iso8859-9.c
52 src/nls/nls_iso8859-13.c
53 src/nls/nls_iso8859-14.c
54 src/nls/nls_iso8859-15.c
87 add_library(ext2fs SHARED ${SOURCE} ext2fs.rc)
90 add_target_compile_flags(ext2fs "-Wno-pointer-sign -Wno-unused-function")
91 if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
92 add_target_compile_flags(ext2fs "-Wno-unused-but-set-variable -Wno-unused-variable -Wno-missing-braces")
95 #disable warnings: "unreferenced local variable", "initialized, but not used variable", "benign include"
96 replace_compile_flags("/we\"4189\"" " ")
97 add_target_compile_flags(ext2fs "/wd\"4189\" /wd\"4142\" /wd\"4101\"")
100 target_link_libraries(ext2fs memcmp ${PSEH_LIB})
101 add_definitions(-D__KERNEL__)
102 set_module_type(ext2fs kernelmodedriver)
103 add_importlibs(ext2fs ntoskrnl hal)
104 add_pch(ext2fs inc/ext2fs.h SOURCE)
105 add_cd_file(TARGET ext2fs DESTINATION reactos/system32/drivers NO_CAB FOR all)