shithub: lwext4

ref: f4737bfd38c5a2bd7d1cd8da7f1a6e9cd2680b2a
dir: /blockdev/CMakeLists.txt/

View raw version
#Blockdev library

if    (BLOCKDEV_TYPE STREQUAL  linux)
aux_source_directory(linux BLOCKDEV_SRC)
elseif    (BLOCKDEV_TYPE STREQUAL  windows)
aux_source_directory(windows BLOCKDEV_SRC)
elseif    (BLOCKDEV_TYPE STREQUAL  chibios)
aux_source_directory(chibios BLOCKDEV_SRC)
else()
endif()

aux_source_directory(. BLOCKDEV_SRC)

add_library(blockdev  ${BLOCKDEV_SRC})