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