[USETUP][SETUPLIB] Added support for formatting partition in BTRFS and installing...
[reactos.git] / 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 guid.c
24 pnp.c
25 read.c
26 registry.c
27 reparse.c
28 scrub.c
29 search.c
30 security.c
31 send.c
32 treefuncs.c
33 volume.c
34 worker-thread.c
35 write.c
36 btrfs_drv.h)
37
38 add_library(btrfs SHARED ${SOURCE} btrfs.rc)
39
40 add_definitions(-D__KERNEL__)
41 set_module_type(btrfs kernelmodedriver)
42 target_link_libraries(btrfs rtlver ntoskrnl_vista zlib_solo wdmguid ${PSEH_LIB})
43 add_importlibs(btrfs ntoskrnl hal)
44 add_cd_file(TARGET btrfs DESTINATION reactos/system32/drivers NO_CAB FOR all)