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