xref: /reactos/dll/win32/netcfgx/CMakeLists.txt (revision 5100859e)
1
2remove_definitions(-D_WIN32_WINNT=0x502)
3add_definitions(-D_WIN32_WINNT=0x600)
4
5spec2def(netcfgx.dll netcfgx.spec)
6
7list(APPEND SOURCE
8    netcfgx.c
9    classfactory.c
10    netcfg_iface.c
11    inetcfgcomp_iface.c
12    tcpipconf_notify.c
13    precomp.h
14    ${CMAKE_CURRENT_BINARY_DIR}/netcfgx_stubs.c)
15
16add_library(netcfgx SHARED
17    ${SOURCE}
18    netcfgx.rc
19    ${CMAKE_CURRENT_BINARY_DIR}/netcfgx.def)
20
21set_module_type(netcfgx win32dll)
22target_link_libraries(netcfgx uuid wine)
23add_importlibs(netcfgx rpcrt4 setupapi advapi32 iphlpapi dhcpcsvc ole32 user32 comctl32 ws2_32 msvcrt kernel32 ntdll)
24add_pch(netcfgx precomp.h SOURCE)
25add_cd_file(TARGET netcfgx DESTINATION reactos/system32 FOR all)
26