~aleteoryx/muditaos

ref: f585c33b7afacce8fa10c33c44bab37e935b68d4 muditaos/module-bsp/sink/CMakeLists.txt -rw-r--r-- 481 bytes
f585c33b — Lefucjusz [BH-2002] Fix crash when connected with broken USB cable 1 year, 6 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
add_library(system-stats-sink-interface INTERFACE)
target_include_directories(system-stats-sink-interface INTERFACE ./)

add_library(system-stats-sink)

target_sources(system-stats-sink
   PRIVATE
      FileSink.cpp
   PUBLIC
      ./
)

target_link_libraries(
        system-stats-sink
    PRIVATE
        system-stats-sink-interface
        system-stats-sink-board
)

target_include_directories(system-stats-sink
   PUBLIC
      $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/>
)