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    cmdConfig.c
10    cmdContinue.c
11    cmdHelpMsg.c
12    cmdLocalGroup.c
13    cmdPause.c
14    cmdStart.c
15    cmdStatistics.c
16    cmdStop.c
17    cmdUse.c
18    cmdUser.c
19    help.c
20    net.h)
21
22add_executable(net ${SOURCE} net.rc)
23set_module_type(net win32cui UNICODE)
24target_link_libraries(net conutils ${PSEH_LIB})
25add_importlibs(net advapi32 netapi32 mpr msvcrt kernel32 ntdll)
26add_pch(net net.h SOURCE)
27add_cd_file(TARGET net DESTINATION reactos/system32 FOR all)
28