forked from EVerest/everest-core
-
Notifications
You must be signed in to change notification settings - Fork 1
/
module-dependencies.cmake
66 lines (51 loc) · 1.65 KB
/
module-dependencies.cmake
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#
# define which modules need a certain dependency
#
ev_define_dependency(
DEPENDENCY_NAME sigslot
DEPENDENT_MODULES_LIST EnergyNode EvseManager MicroMegaWattBSP YetiDriver)
ev_define_dependency(
DEPENDENCY_NAME libmodbus
DEPENDENT_MODULES_LIST PowermeterBSM)
ev_define_dependency(
DEPENDENCY_NAME pugixml
DEPENDENT_MODULES_LIST EvseManager)
ev_define_dependency(
DEPENDENCY_NAME libtimer
DEPENDENT_MODULES_LIST Auth LemDCBM400600 System)
ev_define_dependency(
DEPENDENCY_NAME libslac
DEPENDENT_MODULES_LIST EvSlac EvseSlac)
ev_define_dependency(
DEPENDENCY_NAME libfsm
DEPENDENT_MODULES_LIST EvSlac EvseSlac)
ev_define_dependency(
DEPENDENCY_NAME libcurl
DEPENDENT_MODULES_LIST LemDCBM400600)
ev_define_dependency(
DEPENDENCY_NAME libocpp
DEPENDENT_MODULES_LIST OCPP OCPP201)
ev_define_dependency(
DEPENDENCY_NAME Josev
DEPENDENT_MODULES_LIST PyJosev PyEvJosev)
ev_define_dependency(
DEPENDENCY_NAME libcbv2g
OUTPUT_VARIABLE_SUFFIX LIBCBV2G
DEPENDENT_MODULES_LIST EvseV2G)
ev_define_dependency(
DEPENDENCY_NAME ext-mbedtls
OUTPUT_VARIABLE_SUFFIX MBEDTLS
DEPENDENT_MODULES_LIST EvseV2G)
ev_define_dependency(
DEPENDENCY_NAME libevse-security
OUTPUT_VARIABLE_SUFFIX LIBEVSE_SECURITY
DEPENDENT_MODULES_LIST OCPP OCPP201 EvseSecurity)
ev_define_dependency(
DEPENDENCY_NAME sqlite_cpp
DEPENDENT_MODULES_LIST ErrorHistory)
if(NOT everest-gpio IN_LIST EVEREST_EXCLUDE_DEPENDENCIES)
set(EVEREST_DEPENDENCY_ENABLED_EVEREST_GPIO ON)
else()
set(EVEREST_DEPENDENCY_ENABLED_EVEREST_GPIO OFF)
message(STATUS "Dependency everest-gpio NOT enabled")
endif()