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