CMake: reformat

pull/47/head
Yuri D'Elia 2021-07-06 10:55:40 +02:00
parent d7874d5336
commit e990b703e3
1 changed files with 6 additions and 2 deletions

View File

@ -166,12 +166,16 @@ if(CMAKE_CROSSCOMPILING)
# produce ASM listing # produce ASM listing
add_custom_command( add_custom_command(
TARGET firmware POST_BUILD COMMAND ${CMAKE_OBJDUMP} -CSd firmware > firmware.asm TARGET firmware
POST_BUILD
COMMAND ${CMAKE_OBJDUMP} -CSd firmware > firmware.asm
) )
# inform about the firmware's size in terminal # inform about the firmware's size in terminal
add_custom_command( add_custom_command(
TARGET firmware POST_BUILD COMMAND ${CMAKE_SIZE_UTIL} -C --mcu=atmega32u4 firmware TARGET firmware
POST_BUILD
COMMAND ${CMAKE_SIZE_UTIL} -C --mcu=atmega32u4 firmware
) )
report_size(firmware) report_size(firmware)