~aleteoryx/muditaos

ref: 80da58520a7c1f6fe2bd6f06e9aabb97b28b84fc muditaos/module-sys/SystemManager/CMakeLists.txt -rw-r--r-- 1.5 KiB
80da5852 — Lefucjusz Revert "[BH-000] Workaround for CI/CD issue" 1 year, 3 months ago
                                                                                
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
add_library(sys-manager STATIC)

target_sources(sys-manager
    PUBLIC
        include/SystemManager/DependencyGraph.hpp
        include/SystemManager/CpuSentinel.hpp
        include/SystemManager/CpuStatistics.hpp
        include/SystemManager/SystemManagerCommon.hpp
        include/SystemManager/CpuGovernor.hpp
        include/SystemManager/PowerManager.hpp
        include/SystemManager/DeviceManager.hpp
        include/SystemManager/TaskStatistics.hpp
    
    PRIVATE
        CpuGovernor.cpp
        CpuSentinel.cpp
        LogSentinel.cpp
        GovernorSentinelOperations.cpp
        CpuStatistics.cpp
        TaskStatistics.cpp
        CpuLogPrinter.cpp
        CpuPackPrinter.cpp
        data/SystemManagerActionsParams.hpp
        DependencyGraph.cpp
        DeviceManager.cpp
        graph/TopologicalSort.cpp
        graph/TopologicalSort.hpp
        PowerManager.cpp
        SystemManagerCommon.cpp
        cpu/AlgorithmFactory.cpp
        cpu/algorithm/Algorithm.cpp
        cpu/algorithm/FrequencyHold.cpp
        cpu/algorithm/ImmediateUpscale.cpp
        cpu/algorithm/FrequencyStepping.cpp
)

target_include_directories(sys-manager
    PUBLIC
        $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>
)

target_link_libraries(sys-manager
    PUBLIC
        apps-common
        service-evtmgr
        eventstore
        sys-service
        sys-common
    PRIVATE
        service-desktop
        msgpack11
        system-stats-sink
        Microsoft.GSL::GSL
)

if (${ENABLE_TESTS})
    add_subdirectory(tests)
endif()