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