2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
5 spec2def(netcfgx.dll netcfgx.spec)
14 ${CMAKE_CURRENT_BINARY_DIR}/netcfgx_stubs.c)
16 add_library(netcfgx SHARED
19 ${CMAKE_CURRENT_BINARY_DIR}/netcfgx.def)
21 set_module_type(netcfgx win32dll)
22 target_link_libraries(netcfgx uuid wine)
23 add_importlibs(netcfgx rpcrt4 setupapi advapi32 iphlpapi dhcpcsvc ole32 user32 comctl32 ws2_32 msvcrt kernel32 ntdll)
24 add_pch(netcfgx precomp.h SOURCE)
25 add_cd_file(TARGET netcfgx DESTINATION reactos/system32 FOR all)