afmt cmakelists.txt

This commit is contained in:
Robin Müller 2022-05-20 08:38:57 +02:00
parent 6814d0cf2b
commit 21e9987636
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
9 changed files with 18 additions and 44 deletions

View File

@ -1,9 +1,7 @@
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)

View File

@ -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}
)

View File

@ -1,3 +1 @@
target_sources(${TARGET_NAME} PRIVATE target_sources(${TARGET_NAME} PRIVATE FsfwTestController.cpp)
FsfwTestController.cpp
)

View File

@ -1,3 +1 @@
target_sources(${TARGET_NAME} PRIVATE target_sources(${TARGET_NAME} PRIVATE GenericFactory.cpp)
GenericFactory.cpp
)

View File

@ -0,0 +1 @@

View File

@ -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()

View File

@ -1,4 +1 @@
target_sources(${TARGET_NAME} PRIVATE target_sources(${TARGET_NAME} PRIVATE utility.cpp TmFunnel.cpp)
utility.cpp
TmFunnel.cpp
)

View File

@ -1,6 +1,4 @@
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)

View File

@ -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
)