kylin-connectivity/filetransfer/CMakeLists.txt

20 lines
512 B
CMake
Raw Normal View History

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
)
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
common
2022-09-29 20:28:54 +08:00
)