reactos/sdk/lib/fslib/btrfslib/CMakeLists.txt
Vincent Franchomme 0604273535 [BTRFS][UBTRFS][SHELLBTRFS] Upgrade to 1.7.4 (#4417)
v1.7.4 (2020-08-23):

- Fixed issue when running compressed EXEs
- Changed build system to cmake
- Upgraded zstd to version 1.4.5
- Added support for FSCTL_GET_RETRIEVAL_POINTERS
- Miscellaneous bug fixes
2022-05-03 17:30:11 +02:00

19 lines
682 B
CMake

include_directories(
${REACTOS_SOURCE_DIR}/drivers/filesystems/btrfs)
list(APPEND SOURCE
${REACTOS_SOURCE_DIR}/drivers/filesystems/btrfs/blake2b-ref.c
${REACTOS_SOURCE_DIR}/drivers/filesystems/btrfs/crc32c.c
${REACTOS_SOURCE_DIR}/drivers/filesystems/btrfs/sha256.c
${REACTOS_SOURCE_DIR}/drivers/filesystems/btrfs/xxhash.c
btrfslib.c)
if((ARCH STREQUAL "i386") OR (ARCH STREQUAL "amd64"))
list(APPEND ASM_SOURCE ${REACTOS_SOURCE_DIR}/drivers/filesystems/btrfs/crc32c.S)
add_asm_files(btrfs_asm ${ASM_SOURCE})
endif()
add_library(btrfslib ${SOURCE} ${btrfs_asm})
target_compile_definitions(btrfslib PRIVATE _USRDLL)
add_dependencies(btrfslib psdk)