[CMAKE]
[reactos.git] / dll / win32 / netcfgx / CMakeLists.txt
1
2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
4
5 spec2def(netcfgx ${CMAKE_CURRENT_SOURCE_DIR}/netcfgx.spec ${CMAKE_CURRENT_BINARY_DIR}/netcfgx.def)
6
7 add_library(netcfgx SHARED
8 netcfgx.c
9 classfactory.c
10 netcfg_iface.c
11 inetcfgcomp_iface.c
12 tcpipconf_notify.c
13 netcfgx.rc)
14
15 set_module_type(netcfgx win32dll)
16
17 target_link_libraries(netcfgx
18 ${CMAKE_CURRENT_BINARY_DIR}/netcfgx.def
19 uuid
20 wine)
21
22 add_importlibs(netcfgx rpcrt4 setupapi advapi32 iphlpapi ole32 user32 comctl32 ws2_32 kernel32 ntdll)
23 add_dependencies(netcfgx netcfgx_def)