2022-05-17 13:40:19 +02:00
|
|
|
# simple mode
|
2022-02-09 21:38:56 +01:00
|
|
|
add_executable(${SIMPLE_OBSW_NAME} EXCLUDE_FROM_ALL)
|
|
|
|
target_compile_definitions(${SIMPLE_OBSW_NAME} PRIVATE "Q7S_SIMPLE_MODE")
|
2022-05-17 13:40:19 +02:00
|
|
|
target_sources(${SIMPLE_OBSW_NAME} PUBLIC main.cpp)
|
|
|
|
# I think this is unintentional? (produces linker errors for stuff in /linux)
|
|
|
|
target_link_libraries(${SIMPLE_OBSW_NAME} PUBLIC ${LIB_FSFW_NAME})
|
2022-02-09 21:38:56 +01:00
|
|
|
target_compile_definitions(${SIMPLE_OBSW_NAME} PRIVATE "Q7S_SIMPLE_MODE")
|
|
|
|
add_subdirectory(simple)
|
|
|
|
|
2022-05-17 13:40:19 +02:00
|
|
|
target_sources(${OBSW_NAME} PUBLIC main.cpp obsw.cpp)
|
2020-12-29 01:09:59 +01:00
|
|
|
|
2021-06-30 16:15:46 +02:00
|
|
|
add_subdirectory(boardtest)
|
|
|
|
|
2022-02-09 21:38:56 +01:00
|
|
|
add_subdirectory(boardconfig)
|
|
|
|
add_subdirectory(comIF)
|
|
|
|
add_subdirectory(core)
|
2022-04-29 15:47:54 +02:00
|
|
|
|
|
|
|
if(EIVE_Q7S_EM)
|
2022-05-17 13:40:19 +02:00
|
|
|
add_subdirectory(em)
|
2022-04-29 15:47:54 +02:00
|
|
|
else()
|
2022-05-17 13:40:19 +02:00
|
|
|
target_sources(${OBSW_NAME} PUBLIC fmObjectFactory.cpp)
|
2022-04-29 15:47:54 +02:00
|
|
|
endif()
|
|
|
|
|
2022-02-09 21:38:56 +01:00
|
|
|
add_subdirectory(memory)
|
|
|
|
add_subdirectory(callbacks)
|
2022-03-13 16:32:40 +01:00
|
|
|
add_subdirectory(xadc)
|
2022-09-16 11:53:33 +02:00
|
|
|
add_subdirectory(fs)
|