~aleteoryx/muditaos

ref: master muditaos/module-services/service-evtmgr/CMakeLists.txt -rw-r--r-- 1.2 KiB
2cd0e472 — Lefucjusz [BH-000] Update Harmony 2.10.0 changelog 2 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
project(service-evtmgr)

add_library(service-evtmgr STATIC)

target_sources(service-evtmgr PRIVATE
        AppSettingsNotify.cpp
        EventManager.cpp
        WorkerEventCommon.cpp
        api/EventManagerServiceAPI.cpp
        api/torch.cpp
        backlight-handler/BacklightHandlerCommon.cpp
        battery/BatteryController.cpp
        battery/BatteryController.hpp
        battery/BatteryState.cpp
        battery/BatteryBrownoutDetector.cpp
        screen-light-control/ControlFunctions.cpp
        screen-light-control/ScreenLightControlParameters.cpp
        vibra/Vibra.cpp
)

target_include_directories(${PROJECT_NAME}
    PUBLIC
        "${CMAKE_CURRENT_LIST_DIR}"
         ${CMAKE_CURRENT_LIST_DIR}/service-evtmgr/include
)

target_link_libraries(${PROJECT_NAME}
    PRIVATE
        log
        module-apps
        module-gui
        module-utils
        service-appmgr
        service-audio
        service-cellular
        service-desktop
        service-bluetooth
        sml::sml
        Microsoft.GSL::GSL
        eventstore
    PUBLIC
        service-db
        sys-service
        sys-manager
        messagetype
)

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