improved cmake lists
This commit is contained in:
parent
35749decce
commit
bcac9c65e4
@ -165,11 +165,13 @@ endif()
|
|||||||
add_custom_command(
|
add_custom_command(
|
||||||
TARGET ${TARGET_NAME}
|
TARGET ${TARGET_NAME}
|
||||||
POST_BUILD
|
POST_BUILD
|
||||||
COMMAND echo "Build directory: ${CMAKE_BINARY_DIR}"
|
#COMMAND echo "Build directory: ${CMAKE_BINARY_DIR}"
|
||||||
COMMAND echo "Target OSAL: ${OS_FSFW}"
|
#COMMAND echo "Target OSAL: ${OS_FSFW}"
|
||||||
COMMAND echo "Target Build Type: ${CMAKE_BUILD_TYPE}"
|
#COMMAND echo "Target Build Type: ${CMAKE_BUILD_TYPE}"
|
||||||
COMMAND echo "${TARGET_STRING}"
|
#COMMAND echo "${TARGET_STRING}"
|
||||||
COMMAND ${CMAKE_SIZE} ${TARGET_NAME}${FILE_SUFFIX}
|
COMMAND ${CMAKE_SIZE} ${TARGET_NAME}${FILE_SUFFIX}
|
||||||
|
COMMENT "Build directory: ${CMAKE_BINARY_DIR}\nTarget OSAL: ${OS_FSFW}\n"
|
||||||
|
"Target Build Type: ${CMAKE_BUILD_TYPE}\n${TARGET_STRING}"
|
||||||
)
|
)
|
||||||
|
|
||||||
include (${CMAKE_SCRIPT_PATH}/BuildType.cmake)
|
include (${CMAKE_SCRIPT_PATH}/BuildType.cmake)
|
||||||
|
@ -55,8 +55,8 @@ target_compile_options(${TARGET_NAME} PRIVATE
|
|||||||
add_custom_command(
|
add_custom_command(
|
||||||
TARGET ${TARGET_NAME}
|
TARGET ${TARGET_NAME}
|
||||||
POST_BUILD
|
POST_BUILD
|
||||||
COMMAND echo Generating binary file ${CMAKE_PROJECT_NAME}.bin..
|
|
||||||
COMMAND ${CMAKE_OBJCOPY} -O binary ${TARGET_NAME} ${TARGET_NAME}.bin
|
COMMAND ${CMAKE_OBJCOPY} -O binary ${TARGET_NAME} ${TARGET_NAME}.bin
|
||||||
|
COMMENT "Generating binary file ${CMAKE_PROJECT_NAME}.bin.."
|
||||||
)
|
)
|
||||||
|
|
||||||
endfunction()
|
endfunction()
|
2
fsfw
2
fsfw
@ -1 +1 @@
|
|||||||
Subproject commit 8f83f7becd7ae9ee45a6bfccffdf1338993e426c
|
Subproject commit 50733e223adaf9fc95d9728c62a026ea6efac1d2
|
Loading…
Reference in New Issue
Block a user