mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-15 09:56:00 -04:00
CMake: reduce intermediate targets, add script dependencies.
This commit is contained in:
parent
53434f3789
commit
45ca3cf7e6
3 changed files with 18 additions and 16 deletions
|
@ -199,8 +199,8 @@ include_directories(. ${INCDIR})
|
|||
link_directories(${LLIBDIR})
|
||||
target_link_libraries(${PROJECT_NAME}.elf ${LIBS})
|
||||
|
||||
add_custom_target(
|
||||
${PROJECT_NAME}.bin
|
||||
add_custom_command(
|
||||
OUTPUT ${PROJECT_NAME}.bin
|
||||
COMMAND ${CMAKE_OBJCOPY} -O binary ${PROJECT_NAME}.elf ${PROJECT_NAME}.bin
|
||||
DEPENDS ${PROJECT_NAME}.elf
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue