summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
blob: d14b023f2e8ff4ffd93609555809cafd12343580 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cmake_minimum_required(VERSION 3.10)

# set the project name
project(dnbd3-src
        LANGUAGES C)

add_subdirectory(bench)

if(DNBD3_KERNEL_MODULE)
    add_subdirectory(client)
    add_subdirectory(kernel)
endif(DNBD3_KERNEL_MODULE)

if(DNBD3_CLIENT_FUSE)
    add_subdirectory(fuse)
endif(DNBD3_CLIENT_FUSE)

if(DNBD3_SERVER)
    add_subdirectory(server)
endif(DNBD3_SERVER)

add_subdirectory(shared)