mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-27 23:31:44 +00:00
remove ftp uploading code from CMakeLists
This commit is contained in:
parent
5d60fbd964
commit
d67fafeb4b
@ -20,16 +20,9 @@ set(CMAKE_CXX_FLAGS "-std=c++11") # -fomit-frame-pointer")
|
||||
|
||||
add_application(ExceptionTest CONSOLE ExceptionTest.cc)
|
||||
add_application(InitTest CONSOLE InitTest.cc)
|
||||
add_application(EmptyTest EmptyTest.c)
|
||||
|
||||
enable_language(ASM)
|
||||
add_application(AsmTest AsmTest.s)
|
||||
set_target_properties(AsmTest PROPERTIES LINKER_LANGUAGE C)
|
||||
|
||||
|
||||
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