1
2list(APPEND SOURCE
3    cmds.c
4    cmdtab.c
5    domacro.c
6    fake.c
7    ftp.c
8    main.c
9    ruserpass.c
10    precomp.h)
11
12add_executable(ftp ${SOURCE} ftp.rc)
13target_compile_definitions(ftp PRIVATE lint)
14
15set_module_type(ftp win32cui)
16add_importlibs(ftp ws2_32 iphlpapi msvcrt kernel32)
17target_link_libraries(ftp oldnames)
18add_pch(ftp precomp.h SOURCE)
19
20if(MSVC)
21    add_importlibs(ftp ntdll)
22endif()
23
24add_cd_file(TARGET ftp DESTINATION reactos/system32 FOR all)
25