~aleteoryx/muditaos

ref: 69e5fe52231248586d8590cc4017d52d1425700f muditaos/module-os/board/linux/CMakeLists.txt -rw-r--r-- 435 bytes
69e5fe52 — Maciej Gibowicz [MOS-144] Fix Increased CPU usage 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
target_sources(module-os
    PRIVATE
)

target_sources(
        module-os
    PRIVATE
        port.c 
        fsl_runtimestat_gpt.c
)

target_include_directories(
        module-os
    PUBLIC
    $<BUILD_INTERFACE:
        ${CMAKE_CURRENT_SOURCE_DIR}
    >
)

# suppress unused variable warning
set_source_files_properties(
        port.c 
        fsl_runtimestat_gpt.c
    PROPERTIES COMPILE_FLAGS
	    -Wno-unused-but-set-variable
)