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
|
2018-10-13 17:17:56 +00:00
|
|
|
installer.c
|
2011-05-16 13:12:07 +00:00
|
|
|
netcfg_iface.c
|
2019-06-19 20:38:31 +00:00
|
|
|
netcfgbindinginterface_iface.c
|
2019-06-18 20:35:46 +00:00
|
|
|
netcfgbindingpath_iface.c
|
2011-05-16 13:12:07 +00:00
|
|
|
inetcfgcomp_iface.c
|
|
|
|
tcpipconf_notify.c
|
2018-09-26 21:48:01 +00:00
|
|
|
propertypage.c
|
2014-02-10 12:19:56 +00:00
|
|
|
precomp.h
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/netcfgx_stubs.c)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(netcfgx MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
netcfgx.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/netcfgx.def)
|
|
|
|
|
2018-09-26 21:48:01 +00:00
|
|
|
set_module_type(netcfgx win32dll UNICODE)
|
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)
|