581bab99ae9203cb861641310e2fb7e0ffa2924f
[reactos.git] / reactos / drivers / filesystems / btrfs / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers
3 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/zlib
4 inc)
5
6 list(APPEND SOURCE
7 balance.c
8 btrfs.c
9 cache.c
10 calcthread.c
11 compress.c
12 crc32c.c
13 create.c
14 devctrl.c
15 dirctrl.c
16 extent-tree.c
17 fastio.c
18 fileinfo.c
19 flushthread.c
20 free-space.c
21 fsctl.c
22 galois.c
23 pnp.c
24 read.c
25 registry.c
26 reparse.c
27 search.c
28 security.c
29 treefuncs.c
30 worker-thread.c
31 write.c
32 btrfs_drv.h)
33
34 add_library(btrfs SHARED ${SOURCE} btrfs.rc)
35
36 add_definitions(-D__KERNEL__)
37 set_module_type(btrfs kernelmodedriver)
38 target_link_libraries(btrfs rtlver ntoskrnl_vista zlib_solo wdmguid ${PSEH_LIB})
39 add_importlibs(btrfs ntoskrnl hal)
40 add_pch(btrfs btrfs_drv.h SOURCE)
41 add_cd_file(TARGET btrfs DESTINATION reactos/system32/drivers NO_CAB FOR all)