size and post build printout added
This commit is contained in:
parent
fdc10c9f25
commit
0f2abd79bb
@ -98,6 +98,7 @@ add_subdirectory(${COMMON_PATH})
|
||||
# Add libraries for all sources.
|
||||
target_link_libraries(${TARGET_NAME} PRIVATE
|
||||
${LIB_FSFW_NAME}
|
||||
# Link against lwip which is part of the RTEMS BSP
|
||||
${LIB_LWIP_NAME}
|
||||
)
|
||||
|
||||
@ -142,10 +143,18 @@ target_compile_options(${TARGET_NAME} PRIVATE
|
||||
string(CONCAT POST_BUILD_COMMENT
|
||||
"Build directory: ${CMAKE_BINARY_DIR}\n"
|
||||
"Target OSAL: ${FSFW_OSAL}\n"
|
||||
"Target RTEMS BSP: ${RTEMS_BSP}\n"
|
||||
"Target Build Type: ${CMAKE_BUILD_TYPE}\n"
|
||||
"${TARGET_STRING}"
|
||||
)
|
||||
|
||||
add_custom_command(
|
||||
TARGET ${TARGET_NAME}
|
||||
POST_BUILD
|
||||
COMMAND ${CMAKE_SIZE} ${TARGET_NAME}
|
||||
COMMENT ${POST_BUILD_COMMENT}
|
||||
)
|
||||
|
||||
include("${RTEMS_CONFIG_DIR}/BuildType.cmake")
|
||||
set_build_type()
|
||||
|
||||
@ -154,3 +163,4 @@ set_build_type()
|
||||
################################################################################
|
||||
include("${RTEMS_CONFIG_DIR}/RTEMSPostProjectConfig.cmake")
|
||||
rtems_post_project_config(${TARGET_NAME})
|
||||
|
||||
|
2
fsfw
2
fsfw
@ -1 +1 @@
|
||||
Subproject commit a65a1840838435f8ce3cfed8bc7a2adf74eac2ac
|
||||
Subproject commit 291a8d4ea30b1e18aaa1236fe7a65be14c869994
|
Loading…
Reference in New Issue
Block a user