diff --git a/CMakeLists.txt b/CMakeLists.txt index 27b456d..c8b09a2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,10 +1,8 @@ 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) + add_subdirectory(stm32h7) endif() diff --git a/config/CMakeLists.txt b/config/CMakeLists.txt index bac32c4..f404cd1 100644 --- a/config/CMakeLists.txt +++ b/config/CMakeLists.txt @@ -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}) diff --git a/example/controller/CMakeLists.txt b/example/controller/CMakeLists.txt index 355a328..1f09655 100644 --- a/example/controller/CMakeLists.txt +++ b/example/controller/CMakeLists.txt @@ -1,3 +1 @@ -target_sources(${TARGET_NAME} PRIVATE - FsfwTestController.cpp -) +target_sources(${TARGET_NAME} PRIVATE FsfwTestController.cpp) diff --git a/example/core/CMakeLists.txt b/example/core/CMakeLists.txt index 22e0f41..af0fc0e 100644 --- a/example/core/CMakeLists.txt +++ b/example/core/CMakeLists.txt @@ -1,3 +1 @@ -target_sources(${TARGET_NAME} PRIVATE - GenericFactory.cpp -) +target_sources(${TARGET_NAME} PRIVATE GenericFactory.cpp) diff --git a/example/devices/CMakeLists.txt b/example/devices/CMakeLists.txt index e69de29..8b13789 100644 --- a/example/devices/CMakeLists.txt +++ b/example/devices/CMakeLists.txt @@ -0,0 +1 @@ + diff --git a/example/test/CMakeLists.txt b/example/test/CMakeLists.txt index 3b93a30..b681c76 100644 --- a/example/test/CMakeLists.txt +++ b/example/test/CMakeLists.txt @@ -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() diff --git a/example/utility/CMakeLists.txt b/example/utility/CMakeLists.txt index db2301c..94333d1 100644 --- a/example/utility/CMakeLists.txt +++ b/example/utility/CMakeLists.txt @@ -1,4 +1 @@ -target_sources(${TARGET_NAME} PRIVATE - utility.cpp - TmFunnel.cpp -) +target_sources(${TARGET_NAME} PRIVATE utility.cpp TmFunnel.cpp) diff --git a/stm32h7/CMakeLists.txt b/stm32h7/CMakeLists.txt index 3ae2e12..cd9d542 100644 --- a/stm32h7/CMakeLists.txt +++ b/stm32h7/CMakeLists.txt @@ -1,9 +1,7 @@ -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) if(STM32_ADD_NETWORKING_CODE) - add_subdirectory(networking) -endif() \ No newline at end of file + add_subdirectory(networking) +endif() diff --git a/stm32h7/networking/CMakeLists.txt b/stm32h7/networking/CMakeLists.txt index 9e61958..68e56e6 100644 --- a/stm32h7/networking/CMakeLists.txt +++ b/stm32h7/networking/CMakeLists.txt @@ -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)