mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-24 17:29:38 +00:00
add wput-based upload rule for App2
This commit is contained in:
parent
2194af326d
commit
c5e8e4700c
@ -10,7 +10,15 @@ add_executable(Test
|
||||
|
||||
target_link_libraries(Test retrocrt)
|
||||
add_custom_command(
|
||||
OUTPUT Test.dsk
|
||||
OUTPUT Test.dsk Test.bin
|
||||
COMMAND ${MAKE_APPL} -b -c Test
|
||||
DEPENDS Test)
|
||||
add_custom_target(TestAPPL ALL DEPENDS Test.dsk)
|
||||
|
||||
set(UPLOAD_URL "" CACHE STRING "ftp url to upload to")
|
||||
if(UPLOAD_URL)
|
||||
add_custom_target(upload
|
||||
DEPENDS Test.bin
|
||||
COMMAND wput -u Test.bin ${UPLOAD_URL}
|
||||
)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user