summaryrefslogtreecommitdiff
path: root/blockdev/CMakeLists.txt
blob: 2099d503a4484fad0fa6331fde4de53639622b41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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})