Skip to content

Commit

Permalink
cleanup CMake errors;
Browse files Browse the repository at this point in the history
  • Loading branch information
gatekeep committed Jul 31, 2024
1 parent f50d6ae commit d2ce58b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -514,13 +514,12 @@ add_custom_target(dvmfw-stm32fx-clean

add_custom_target(dvmfw-v24
COMMAND make -f Makefile
COMMAND cp DVM-V24-stm32f103.elf ${CMAKE_CURRENT_BINARY_DIR}
COMMAND cp DVM-V24-stm32f103.bin ${CMAKE_CURRENT_BINARY_DIR}
COMMAND cp DVM-V24-stm32f103.hex ${CMAKE_CURRENT_BINARY_DIR}
COMMAND cp DVM-V24-stm32f103.map ${CMAKE_CURRENT_BINARY_DIR}
COMMAND cp build/DVM-V24-stm32f103.elf ${CMAKE_CURRENT_BINARY_DIR}
COMMAND cp build/DVM-V24-stm32f103.bin ${CMAKE_CURRENT_BINARY_DIR}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/src/fw/v24/fw
)
add_custom_target(dvmfw-v24-clean
COMMAND make -f Makefile clean
COMMAND rm -rf ${CMAKE_CURRENT_SOURCE_DIR}/src/fw/v24/fw/Build
COMMAND rm -f ${CMAKE_CURRENT_BINARY_DIR}/DVM-V24*
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/src/fw/v24/fw
Expand Down

0 comments on commit d2ce58b

Please sign in to comment.