initial CMakeLists.txt
This commit is contained in:
parent
d873a3ed51
commit
22d6e40329
21
CMakeLists.txt
Normal file
21
CMakeLists.txt
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.13)
|
||||||
|
|
||||||
|
set(LIB_FREERTOS_NAME FreeRTOS)
|
||||||
|
project(${LIB_FREERTOS_NAME}
|
||||||
|
VERSION 202210.01-LTS)
|
||||||
|
|
||||||
|
add_library(${LIB_FREERTOS_NAME})
|
||||||
|
|
||||||
|
target_sources(
|
||||||
|
${LIB_FREERTOS_NAME}
|
||||||
|
PRIVATE
|
||||||
|
FreeRTOS/FreeRTOS-Kernel/list.c
|
||||||
|
FreeRTOS/FreeRTOS-Kernel/queue.c
|
||||||
|
FreeRTOS/FreeRTOS-Kernel/tasks.c
|
||||||
|
FreeRTOS/FreeRTOS-Kernel/timers.c
|
||||||
|
)
|
||||||
|
|
||||||
|
target_link_directories(${LIB_FREERTOS_NAME}
|
||||||
|
PUBLIC
|
||||||
|
FreeRTOS/FreeRTOS-Kernel/include
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user