reactos/drivers/filesystems/btrfs/CMakeLists.txt
Victor Perevertkin 07bc92f740 [USETUP][SETUPLIB] Added support for formatting partition in BTRFS and installing ReactOS on it.
Removed code related to EXT2 boot sector for now.
CORE-13769
2018-08-20 08:26:56 +02:00

44 lines
919 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 NO_CAB FOR all)