-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
48 lines (39 loc) · 1.17 KB
/
CMakeLists.txt
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
## Copyright 2020-2021 Seagate Technology LLC.
#
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not
# distributed with this file, You can obtain one at
# https://mozilla.org/MP:/2.0/.
#
# This program is distributed in the hope that it will be useful,
# but is provided AS-IS, WITHOUT ANY WARRANTY; including without
# the implied warranty of MERCHANTABILITY, NON-INFRINGEMENT or
# FITNESS FOR A PARTICULAR PURPOSE. See the Mozilla Public
# License for more details.
#
cmake_minimum_required(VERSION 3.10)
# ------------------------------
# Project level configuration
# project name
project(
KineticPrototype
VERSION 0.1.0
DESCRIPTION "A prototype of the kinetic library. Work-in-progress."
LANGUAGES C
)
# variables
set(STATIC_PREFIX ${PROJECT_BINARY_DIR}/vendor)
set(STATIC_LIB_DIR ${STATIC_PREFIX}/lib)
set(STATIC_INCLUDE_DIR ${STATIC_PREFIX}/include)
# subdirectories
add_subdirectory(src)
# ------------------------------
# Main compilation
include_directories(
# header files
include
${STATIC_INCLUDE_DIR}
# source files
src
${PROJECT_SOURCE_DIR}/src/protocol
)