1
2add_definitions(-D__USE_W32_SOCKETS)
3
4include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/conutils)
5
6list(APPEND SOURCE
7    main.c
8    cmdAccounts.c
9    cmdComputer.c
10    cmdConfig.c
11    cmdContinue.c
12    cmdGroup.c
13    cmdHelp.c
14    cmdHelpMsg.c
15    cmdLocalGroup.c
16    cmdPause.c
17    cmdShare.c
18    cmdStart.c
19    cmdStatistics.c
20    cmdStop.c
21    cmdUse.c
22    cmdUser.c
23    net.h)
24
25add_executable(net ${SOURCE} net.rc)
26set_module_type(net win32cui UNICODE)
27target_link_libraries(net conutils ${PSEH_LIB})
28add_dependencies(net net_msg)
29add_importlibs(net advapi32 netapi32 mpr msvcrt kernel32 ntdll)
30add_pch(net net.h SOURCE)
31add_cd_file(TARGET net DESTINATION reactos/system32 FOR all)
32