afmt cmakelists.txt
This commit is contained in:
parent
6814d0cf2b
commit
21e9987636
@ -1,9 +1,7 @@
|
||||
add_subdirectory(config)
|
||||
add_subdirectory(example)
|
||||
|
||||
target_include_directories(${TARGET_NAME} PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
target_include_directories(${TARGET_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
if(TGT_BSP MATCHES "arm/stm32h743zi-nucleo")
|
||||
add_subdirectory(stm32h7)
|
||||
|
@ -1,7 +1,3 @@
|
||||
target_sources(${TARGET_NAME} PRIVATE
|
||||
commonPollingSequenceFactory.cpp
|
||||
)
|
||||
target_sources(${TARGET_NAME} PRIVATE commonPollingSequenceFactory.cpp)
|
||||
|
||||
target_include_directories(${TARGET_NAME} PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
target_include_directories(${TARGET_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
@ -1,3 +1 @@
|
||||
target_sources(${TARGET_NAME} PRIVATE
|
||||
FsfwTestController.cpp
|
||||
)
|
||||
target_sources(${TARGET_NAME} PRIVATE FsfwTestController.cpp)
|
||||
|
@ -1,3 +1 @@
|
||||
target_sources(${TARGET_NAME} PRIVATE
|
||||
GenericFactory.cpp
|
||||
)
|
||||
target_sources(${TARGET_NAME} PRIVATE GenericFactory.cpp)
|
||||
|
@ -0,0 +1 @@
|
||||
|
@ -1,12 +1,6 @@
|
||||
target_sources(${TARGET_NAME} PRIVATE
|
||||
FsfwReaderTask.cpp
|
||||
FsfwExampleTask.cpp
|
||||
MutexExample.cpp
|
||||
FsfwTestTask.cpp
|
||||
)
|
||||
target_sources(${TARGET_NAME} PRIVATE FsfwReaderTask.cpp FsfwExampleTask.cpp
|
||||
MutexExample.cpp FsfwTestTask.cpp)
|
||||
|
||||
if(FSFW_ADD_FMT_TESTS)
|
||||
target_sources(${TARGET_NAME} PRIVATE
|
||||
testFmt.cpp
|
||||
)
|
||||
target_sources(${TARGET_NAME} PRIVATE testFmt.cpp)
|
||||
endif()
|
||||
|
@ -1,4 +1 @@
|
||||
target_sources(${TARGET_NAME} PRIVATE
|
||||
utility.cpp
|
||||
TmFunnel.cpp
|
||||
)
|
||||
target_sources(${TARGET_NAME} PRIVATE utility.cpp TmFunnel.cpp)
|
||||
|
@ -1,6 +1,4 @@
|
||||
target_sources(${TARGET_NAME} PRIVATE
|
||||
STM32TestTask.cpp
|
||||
)
|
||||
target_sources(${TARGET_NAME} PRIVATE STM32TestTask.cpp)
|
||||
|
||||
option(STM32_ADD_NETWORKING_CODE "Add networking code requiring lwIP" ON)
|
||||
|
||||
|
@ -1,14 +1,8 @@
|
||||
# These are part of the RTEMS BSP for RTEMS
|
||||
if(FSFW_OSAL MATCHES freertos)
|
||||
target_sources(${TARGET_NAME} PRIVATE
|
||||
ethernetif.c
|
||||
)
|
||||
target_sources(${TARGET_NAME} PRIVATE ethernetif.c)
|
||||
endif()
|
||||
|
||||
target_sources(${TARGET_NAME} PRIVATE
|
||||
UdpTcLwIpPollingTask.cpp
|
||||
TmTcLwIpUdpBridge.cpp
|
||||
networking.cpp
|
||||
app_dhcp.cpp
|
||||
app_ethernet.cpp
|
||||
)
|
||||
target_sources(
|
||||
${TARGET_NAME} PRIVATE UdpTcLwIpPollingTask.cpp TmTcLwIpUdpBridge.cpp
|
||||
networking.cpp app_dhcp.cpp app_ethernet.cpp)
|
||||
|
Loading…
Reference in New Issue
Block a user