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