2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
include_directories(include)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(dhcpcsvc.dll dhcpcsvc.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2021-09-13 01:33:14 +00:00
|
|
|
list(APPEND SOURCE
|
2011-05-16 13:12:07 +00:00
|
|
|
dhcp/adapter.c
|
|
|
|
dhcp/alloc.c
|
|
|
|
dhcp/api.c
|
|
|
|
dhcp/compat.c
|
|
|
|
dhcp/dhclient.c
|
|
|
|
dhcp/dispatch.c
|
|
|
|
dhcp/hash.c
|
|
|
|
dhcp/options.c
|
|
|
|
dhcp/pipe.c
|
|
|
|
dhcp/socket.c
|
|
|
|
dhcp/tables.c
|
|
|
|
dhcp/util.c
|
2020-05-09 21:37:40 +00:00
|
|
|
dhcpcsvc.c)
|
|
|
|
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dhcpcsvc_stubs.c)
|
2014-02-10 12:19:56 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(dhcpcsvc MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
2020-05-09 21:37:40 +00:00
|
|
|
${PCH_SKIP_SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
dhcpcsvc.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dhcpcsvc.def)
|
|
|
|
|
2024-05-22 17:48:04 +00:00
|
|
|
target_link_libraries(dhcpcsvc oldnames)
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(dhcpcsvc win32dll)
|
|
|
|
add_importlibs(dhcpcsvc ws2_32 iphlpapi advapi32 msvcrt kernel32 ntdll)
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(dhcpcsvc include/rosdhcp.h "${PCH_SKIP_SOURCE}")
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET dhcpcsvc DESTINATION reactos/system32 FOR all)
|