mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
CMake
This commit is contained in:
17
source/Middlewares/FreeRTOS/CMakeLists.txt
Normal file
17
source/Middlewares/FreeRTOS/CMakeLists.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
set(sources
|
||||
croutine.c
|
||||
event_groups.c
|
||||
list.c
|
||||
queue.c
|
||||
tasks.c
|
||||
timers.c
|
||||
CMSIS_RTOS/cmsis_os.c
|
||||
)
|
||||
|
||||
|
||||
add_library(FreeRTOS ${sources})
|
||||
|
||||
#Reqired to be able to grab the freertos config header
|
||||
target_link_libraries(FreeRTOS PUBLIC BSP BSPImplementation)
|
||||
target_include_directories(FreeRTOS PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include ${CMAKE_CURRENT_SOURCE_DIR}/CMSIS_RTOS)
|
||||
Reference in New Issue
Block a user