mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-06-10 01:55:59 +00:00
cmake: Added sources and includes
This commit is contained in:
parent
416236f290
commit
86145acff6
22
CMakeLists.txt
Normal file
22
CMakeLists.txt
Normal file
@ -0,0 +1,22 @@
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
set(RTOS2_UTILS_SOURCES
|
||||
src/mutex.cpp
|
||||
src/thread.cpp
|
||||
src/timer.cpp
|
||||
src/system/can_bus.cpp
|
||||
src/signal.cpp
|
||||
src/heap_useNewlib_ST.c
|
||||
src/event.cpp
|
||||
src/debug/heap_stats.cpp
|
||||
src/debug/stack_overflow.cpp
|
||||
src/debug/runtime_stats.c
|
||||
)
|
||||
list(TRANSFORM RTOS2_UTILS_SOURCES PREPEND "${CMAKE_CURRENT_SOURCE_DIR}/")
|
||||
|
||||
# Define includes
|
||||
set(RTOS2_UTILS_INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
||||
|
||||
# Propagate to the parent scope
|
||||
set(RTOS2_UTILS_SOURCES ${RTOS2_UTILS_SOURCES} PARENT_SCOPE)
|
||||
set(RTOS2_UTILS_INCLUDES ${RTOS2_UTILS_INCLUDES} PARENT_SCOPE)
|
Loading…
x
Reference in New Issue
Block a user