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
add_library(sys-manager STATIC)
target_sources(sys-manager
PUBLIC
include/SystemManager/DependencyGraph.hpp
include/SystemManager/CpuStatistics.hpp
include/SystemManager/Constants.hpp
include/SystemManager/messages/TetheringQuestionRequest.hpp
include/SystemManager/messages/RequestCpuFrequencyMessage.hpp
include/SystemManager/messages/SentinelRegistrationMessage.hpp
include/SystemManager/messages/DeviceRegistrationMessage.hpp
include/SystemManager/messages/TetheringStateRequest.hpp
include/SystemManager/messages/SystemManagerMessage.hpp
include/SystemManager/messages/CpuFrequencyMessage.hpp
include/SystemManager/SystemManagerCommon.hpp
include/SystemManager/CpuGovernor.hpp
include/SystemManager/PowerManager.hpp
include/SystemManager/DeviceManager.hpp
PRIVATE
CpuGovernor.cpp
CpuStatistics.cpp
data/SystemManagerActionsParams.hpp
DependencyGraph.cpp
DeviceManager.cpp
graph/TopologicalSort.cpp
graph/TopologicalSort.hpp
PowerManager.cpp
SystemManagerCommon.cpp
)
target_include_directories(sys-manager
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>
)
target_link_libraries(sys-manager
PUBLIC
sys-service
)
if (${ENABLE_TESTS})
add_subdirectory(tests)
endif()