mirror of
https://github.com/reactos/reactos.git
synced 2024-11-05 22:26:39 +00:00
25 lines
571 B
CMake
25 lines
571 B
CMake
|
|
add_definitions(-D__USE_W32_SOCKETS)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/conutils)
|
|
|
|
list(APPEND SOURCE
|
|
main.c
|
|
cmdAccounts.c
|
|
cmdContinue.c
|
|
cmdHelpMsg.c
|
|
cmdLocalGroup.c
|
|
cmdPause.c
|
|
cmdStart.c
|
|
cmdStop.c
|
|
cmdUse.c
|
|
cmdUser.c
|
|
help.c
|
|
net.h)
|
|
|
|
add_executable(net ${SOURCE} net.rc)
|
|
set_module_type(net win32cui UNICODE)
|
|
target_link_libraries(net conutils ${PSEH_LIB})
|
|
add_importlibs(net advapi32 netapi32 mpr msvcrt kernel32 ntdll)
|
|
add_pch(net net.h SOURCE)
|
|
add_cd_file(TARGET net DESTINATION reactos/system32 FOR all)
|