~aleteoryx/muditaos

ref: e0da78c9be650e78f1d1232ac477991dcf39e2d2 muditaos/module-platform/CMakeLists.txt -rw-r--r-- 445 bytes
e0da78c9 — Alek Rudnik [EGD-8193] Proper system shutdown durign update 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
add_library(platform STATIC)

module_is_test_entity()

target_include_directories(
        platform

    PUBLIC
        $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
)

target_sources(
        platform

    PUBLIC
        include/Platform.hpp
        CommonPlatform.cpp
)

target_link_libraries(
        platform

    PUBLIC
        board

    PRIVATE
        module-bsp
        purefs-paths
)

add_subdirectory(${PROJECT_TARGET_NAME})