~aleteoryx/muditaos

ref: d4d0e7ec3487e64649f764c2bbcf5c25cf3c204d muditaos/module-services/service-gui/CMakeLists.txt -rw-r--r-- 1002 bytes
d4d0e7ec — Tomasz Rybarski [BH-1222] Alarm Bottom Message Translations 4 years 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
add_library(service-gui STATIC)

target_sources(service-gui
    PRIVATE
        ContextPool.cpp
        DrawCommandsQueue.cpp
        RenderCache.cpp
        ServiceGUI.cpp
        SynchronizationMechanism.cpp
        WorkerGUI.cpp
        messages/DrawMessage.cpp
    INTERFACE
        service-gui/Common.hpp
        service-gui/ServiceGUI.hpp
        service-gui/messages/ChangeColorScheme.hpp
        service-gui/messages/DrawMessage.hpp
        service-gui/messages/EinkInitialized.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
    service-eink
    module-gui
    module-apps
)

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

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