[DRIVERS]
[reactos.git] / reactos / drivers / filesystems / ext2 / CMakeLists.txt
1
2 include_directories(inc)
3
4 list(APPEND SOURCE
5 src/volinfo.c
6 src/create.c
7 src/write.c
8 src/metadata.c
9 src/fastio.c
10 src/dircntrl.c
11 src/DiskIO.c
12 src/fsctrl.c
13 src/devcntrl.c
14 src/flush.c
15 src/ext2init.c
16 src/io.c
17 src/close.c
18 src/fileinfo.c
19 src/read.c
20 src/cleanup.c
21 src/misc.c
22 src/shutdown.c
23 inc/ext2fsd.h)
24
25 add_library(ext2fs SHARED ${SOURCE})
26
27 if(NOT MSVC)
28 add_compile_flags("-Wno-unused-but-set-variable")
29 endif()
30
31 allow_warnings(ext2fs)
32 target_link_libraries(ext2fs ${PSEH_LIB})
33 add_pch(ext2fs inc/ext2fsd.h SOURCE)
34 set_module_type(ext2fs kernelmodedriver)
35 add_importlibs(ext2fs ntoskrnl hal)
36 add_cd_file(TARGET ext2fs DESTINATION reactos/system32/drivers NO_CAB FOR all)