~aleteoryx/muditaos

ref: 71c88bacb5dcca077690381f89c86042019d428e muditaos/third-party/freeRTOS-kernel/CMakeLists.txt -rw-r--r-- 447 bytes
71c88bac — Maciej Gibowicz [BH-2097] Adding and deleting a single custom quote 1 year, 14 days ago
                                                                                
1
2
3
4
5
6
7
8
9
add_subdirectory(freeRTOS-kernel)

if (${CMAKE_BUILD_TYPE} STREQUAL "RelWithDebInfo")
    set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/freeRTOS-kernel/portable/MemMang/heap_4.c PROPERTIES COMPILE_OPTIONS "-O0")
endif ()

# freertos-app contains definitions of vApplicationHooks*
# module-bsp::os contains FreeRTOS configuration and definitions of board-specific timers
target_link_libraries(freertos_kernel freertos-app module-bsp::os)