1 2spec2def(ubtrfs.dll ubtrfs.spec) 3 4list(APPEND SOURCE 5 ubtrfs.c 6 ubtrfs.rc 7 ${CMAKE_CURRENT_BINARY_DIR}/ubtrfs.def) 8 9add_library(ubtrfs MODULE ${SOURCE}) 10set_module_type(ubtrfs nativedll) 11target_link_libraries(ubtrfs btrfslib) 12add_importlibs(ubtrfs ntdll) 13add_cd_file(TARGET ubtrfs DESTINATION reactos/system32 FOR all) 14