2014-10-17 23:28:29 +00:00
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
2011-06-26 21:29:55 +00:00
|
|
|
spec2def(netcfgx.dll netcfgx.spec)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
netcfgx.c
|
|
|
|
classfactory.c
|
|
|
|
netcfg_iface.c
|
|
|
|
inetcfgcomp_iface.c
|
|
|
|
tcpipconf_notify.c
|
2014-02-10 12:19:56 +00:00
|
|
|
precomp.h
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/netcfgx_stubs.c)
|
|
|
|
|
|
|
|
add_library(netcfgx SHARED
|
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
netcfgx.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/netcfgx.def)
|
|
|
|
|
|
|
|
set_module_type(netcfgx win32dll)
|
2012-12-22 10:47:06 +00:00
|
|
|
target_link_libraries(netcfgx uuid wine)
|
2012-01-15 19:53:52 +00:00
|
|
|
add_importlibs(netcfgx rpcrt4 setupapi advapi32 iphlpapi dhcpcsvc ole32 user32 comctl32 ws2_32 msvcrt kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(netcfgx precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET netcfgx DESTINATION reactos/system32 FOR all)
|