reactos/drivers/filesystems/btrfs/CMakeLists.txt
Pierre Schweitzer 806cd16328
[SETUP] Remove FSDs which have broken dismount implementation.
This avoids issues when these partitions are formatted to FAT for setup.

For now, this commit doesn't change anything, but once IopParseDevice hack
gets removed, this will make a difference!

CORE-6305
2017-12-17 23:16:01 +01:00

44 lines
912 B
CMake

include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/zlib
inc)
list(APPEND SOURCE
balance.c
btrfs.c
cache.c
calcthread.c
compress.c
crc32c.c
create.c
devctrl.c
dirctrl.c
extent-tree.c
fastio.c
fileinfo.c
flushthread.c
free-space.c
fsctl.c
galois.c
guid.c
pnp.c
read.c
registry.c
reparse.c
scrub.c
search.c
security.c
send.c
treefuncs.c
volume.c
worker-thread.c
write.c
btrfs_drv.h)
add_library(btrfs SHARED ${SOURCE} btrfs.rc)
add_definitions(-D__KERNEL__)
set_module_type(btrfs kernelmodedriver)
target_link_libraries(btrfs rtlver ntoskrnl_vista zlib_solo wdmguid ${PSEH_LIB})
add_importlibs(btrfs ntoskrnl hal)
add_cd_file(TARGET btrfs DESTINATION reactos/system32/drivers FOR all)