reactos/base/applications/network/net/CMakeLists.txt

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)