mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-06-10 00:25:59 +00:00
20 lines
494 B
CMake
20 lines
494 B
CMake
cmake_minimum_required(VERSION 3.10)
|
|
|
|
set(TACOS_SOURCES
|
|
src/thread.cpp
|
|
src/statemachine.cpp
|
|
src/can_bus.cpp
|
|
src/startup.cpp
|
|
src/watchdog.cpp
|
|
src/tacos.cpp
|
|
src/debug.cpp
|
|
src/events.cpp
|
|
)
|
|
list(TRANSFORM TACOS_SOURCES PREPEND "${CMAKE_CURRENT_SOURCE_DIR}/")
|
|
|
|
# Define includes
|
|
set(TACOS_INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
|
|
|
# Propagate to the parent scope
|
|
set(TACOS_SOURCES ${TACOS_SOURCES} PARENT_SCOPE)
|
|
set(TACOS_INCLUDES ${TACOS_INCLUDES} PARENT_SCOPE) |