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