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

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

if(DNBD3_BENCHMARK)
    add_subdirectory(bench)
endif(DNBD3_BENCHMARK)

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_CLIENT_FUSE_COW_TEST)
    add_subdirectory(cowtest)
endif(DNBD3_CLIENT_FUSE_COW_TEST)

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

add_subdirectory(shared)