2023-03-28 15:38:05 +08:00
|
|
|
set(FILETRANSFER_SOURCES
|
2022-09-29 20:28:54 +08:00
|
|
|
ftpclient/ftpmanager.h
|
|
|
|
ftpclient/ftpmanager.cpp
|
|
|
|
ftpclient/qftp.h
|
|
|
|
ftpclient/qftp.cpp
|
|
|
|
ftpclient/qurlinfo.h
|
|
|
|
ftpclient/qurlinfo.cpp
|
|
|
|
)
|
|
|
|
|
2023-03-28 15:38:05 +08:00
|
|
|
add_library(filetransfer ${FILETRANSFER_SOURCES})
|
2022-09-29 20:28:54 +08:00
|
|
|
|
|
|
|
target_include_directories(filetransfer PUBLIC
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ftpclient
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(filetransfer PRIVATE
|
|
|
|
Qt${QT_VERSION_MAJOR}::Widgets
|
|
|
|
Qt${QT_VERSION_MAJOR}::Network
|
2023-03-28 15:38:05 +08:00
|
|
|
common
|
2022-09-29 20:28:54 +08:00
|
|
|
)
|