53 lib/DirList/netware.cpp
54 lib/DirList/skirdin.cpp
61 lib/Progress/cbFmt.cpp
62 lib/Progress/TraficCB.cpp
64 lib/Progress/Utils.cpp
67 add_library (farftp MODULE ${SOURCES})
69 target_link_libraries(farftp utils FARStdlib far2l)
71 target_include_directories(farftp PRIVATE .)
72 target_include_directories(farftp PRIVATE src)
73 target_include_directories(farftp PRIVATE ../FARStdlib/include)
74 target_include_directories(farftp PRIVATE ../WinPort)
75 target_include_directories(farftp PRIVATE ../far2l/far2sdk)
77 set_target_properties(farftp
79 LIBRARY_OUTPUT_DIRECTORY "${INSTALL_DIR}/Plugins/farftp/plug"
81 SUFFIX ".far-plug-mb")
83 add_custom_command(TARGET farftp POST_BUILD
84 DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/configs
85 COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/configs "${INSTALL_DIR}/Plugins/farftp")