mirror of
https://github.com/reactos/reactos.git
synced 2024-09-01 16:18:46 +00:00
45 lines
919 B
CMake
45 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)
|