reactos/base/applications/network/net/CMakeLists.txt
2018-12-24 17:03:00 +01:00

30 lines
673 B
CMake

add_definitions(-D__USE_W32_SOCKETS)
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/conutils)
list(APPEND SOURCE
main.c
cmdAccounts.c
cmdComputer.c
cmdConfig.c
cmdContinue.c
cmdGroup.c
cmdHelp.c
cmdHelpMsg.c
cmdLocalGroup.c
cmdPause.c
cmdStart.c
cmdStatistics.c
cmdStop.c
cmdUse.c
cmdUser.c
net.h)
add_executable(net ${SOURCE} net.rc)
set_module_type(net win32cui UNICODE)
target_link_libraries(net conutils ${PSEH_LIB})
add_dependencies(net net_msg)
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)