f9aba7a97c9d0d314a2149e318cd3aa1c98102b4
[reactos.git] / dll / win32 / iphlpapi / CMakeLists.txt
1
2 set_unicode()
3
4 add_definitions(-D_DLL -D__USE_CRTIMP)
5
6 include_directories(
7 ${REACTOS_SOURCE_DIR}/include/reactos/wine
8 ${REACTOS_SOURCE_DIR}/dll/win32/dhcpcsvc/include
9 ${REACTOS_SOURCE_DIR}/lib/tdilib)
10
11 spec2def(iphlpapi ${CMAKE_CURRENT_SOURCE_DIR}/iphlpapi.spec ${CMAKE_CURRENT_BINARY_DIR}/iphlpapi.def)
12
13 add_library(iphlpapi SHARED
14 dhcp_reactos.c
15 ifenum_reactos.c
16 ipstats_reactos.c
17 iphlpapi_main.c
18 media.c
19 registry.c
20 resinfo_reactos.c
21 route_reactos.c
22 iphlpapi.rc)
23
24 set_module_type(iphlpapi win32dll)
25
26 target_link_libraries(iphlpapi
27 ${CMAKE_CURRENT_BINARY_DIR}/iphlpapi.def
28 wine
29 tdilib)
30
31 add_importlibs(iphlpapi dhcpcsvc advapi32 ws2_32 msvcrt kernel32 ntdll)
32 add_dependencies(iphlpapi iphlpapi_def)