~aleteoryx/muditaos

ref: 0e8b4c848e3f87f3bbb1f64ef7460cf56017b87f muditaos/module-services/service-gui/CMakeLists.txt -rw-r--r-- 1.1 KiB
0e8b4c84 — Lefucjusz [BH-2108] Fix misaligned charging symbol 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
add_library(service-gui STATIC)

target_sources(service-gui
    PRIVATE
        ContextPool.cpp
        DrawCommandsQueue.cpp
        RenderCache.cpp
        ServiceGUI.cpp
        ServiceGUIStateManager.cpp
        SynchronizationMechanism.cpp
        WorkerGUI.cpp
        messages/DrawMessage.cpp
    INTERFACE
        service-gui/ServiceGUIName.hpp
        service-gui/ServiceGUI.hpp
        service-gui/ServiceGUIStateManager.hpp
        service-gui/messages/ChangeColorScheme.hpp
        service-gui/messages/DrawMessage.hpp
        service-gui/messages/GUIMessage.hpp
        service-gui/messages/RenderingFinished.hpp
    PRIVATE
        ContextPool.hpp
        DrawCommandsQueue.hpp
        RenderCache.hpp
        SynchronizationMechanism.hpp
        WorkerGUI.hpp
)


target_link_libraries(service-gui
    PUBLIC
        service-eink
        module-gui
        module-apps
    PRIVATE
        Microsoft.GSL::GSL
        
)

target_include_directories(service-gui
    PUBLIC
        ${CMAKE_CURRENT_LIST_DIR}
    PRIVATE
        service-gui
)

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