forked from celtera/sat-fheel-hrv-algorithms
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
41 lines (33 loc) · 866 Bytes
/
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
cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
if(NOT TARGET score_lib_base)
include(ScoreExternalAddon)
endif()
if(NOT TARGET score_plugin_avnd)
return()
endif()
project(score_addon_hrv LANGUAGES CXX)
FetchContent_Declare(
DataFrame
GIT_REPOSITORY "https://github.com/hosseinmoein/DataFrame"
GIT_TAG master
GIT_PROGRESS true
)
FetchContent_MakeAvailable(DataFrame)
avnd_score_plugin_init(
BASE_TARGET score_addon_hrv
)
avnd_score_plugin_add(
BASE_TARGET score_addon_hrv
SOURCES
"Hrv/HeartbeatMetrics.hpp"
TARGET heartbeat_metrics
MAIN_CLASS HeartbeatMetrics
NAMESPACE fheel
)
avnd_score_plugin_finalize(
BASE_TARGET score_addon_hrv
PLUGIN_VERSION 1
PLUGIN_UUID "9d9576a9-bbd2-42de-90b0-c6e2c6469f42"
)
target_sources(score_addon_hrv PRIVATE Hrv/armpd.cc)
target_link_libraries(score_addon_hrv PRIVATE DataFrame)