e4ec195bebaaeaccdb14fdb2c4acb9cc01ecf296
[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 rpcrt4 setupapi advapi32 iphlpapi ole32 user32 comctl32 ws2_32 ntdll)
25 add_dependencies(netcfgx netcfgx_def)