File tree Expand file tree Collapse file tree 2 files changed +1784
-2
lines changed Expand file tree Collapse file tree 2 files changed +1784
-2
lines changed Original file line number Diff line number Diff line change @@ -445,10 +445,19 @@ endif()
445
445
446
446
target_link_libraries (MK404 gsl-lite )
447
447
448
+ file (GLOB_RECURSE ALL_MMU_FILES
449
+ "${PROJECT_SOURCE_DIR} /assets/Firmware/MM*.hex"
450
+ )
451
+
448
452
add_custom_command (TARGET MK404 POST_BUILD
453
+ COMMAND ${CMAKE_COMMAND} -E make_directory "${PROJECT_BINARY_DIR} "
449
454
COMMAND ${CMAKE_COMMAND} -E copy_if_different
450
- "${PROJECT_SOURCE_DIR} /assets/Firmware/MM-control-01.hex"
451
- "${PROJECT_BINARY_DIR} /MM-control-01.hex" )
455
+ #"${PROJECT_SOURCE_DIR}/assets/Firmware/MM-control-01.hex"
456
+ #"${PROJECT_BINARY_DIR}/MM-control-01.hex"
457
+ ${ALL_MMU_FILES}
458
+ "${PROJECT_BINARY_DIR} /"
459
+ )
460
+
452
461
add_custom_command (TARGET MK404 POST_BUILD
453
462
COMMAND ${CMAKE_COMMAND} -E copy_if_different
454
463
"${PROJECT_SOURCE_DIR} /assets/Firmware/MK3S.afx"
You can’t perform that action at this time.
0 commit comments