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
project(service-evtmgr)
set(SOURCES
EventManager.cpp
WorkerEventCommon.cpp
api/EventManagerServiceAPI.cpp
api/torch.cpp
backlight-handler/BacklightHandlerCommon.cpp
battery/BatteryController.cpp
battery/BatteryController.hpp
battery-level-check/BatteryLevelCheck.cpp
battery-brownout-detector/BatteryBrownoutDetector.cpp
screen-light-control/ControlFunctions.cpp
screen-light-control/ScreenLightControlParameters.cpp
vibra/Vibra.cpp
)
add_library(service-evtmgr STATIC)
target_sources(service-evtmgr PRIVATE ${SOURCES})
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 ()