[WIN32SS][WINSRV] Do CJK font choose workaround (#2134)
[reactos.git] / dll / win32 / netcfgx / CMakeLists.txt
1
2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
4
5 spec2def(netcfgx.dll netcfgx.spec)
6
7 list(APPEND SOURCE
8 netcfgx.c
9 classfactory.c
10 installer.c
11 netcfg_iface.c
12 netcfgbindinginterface_iface.c
13 netcfgbindingpath_iface.c
14 inetcfgcomp_iface.c
15 tcpipconf_notify.c
16 propertypage.c
17 precomp.h
18 ${CMAKE_CURRENT_BINARY_DIR}/netcfgx_stubs.c)
19
20 add_library(netcfgx MODULE
21 ${SOURCE}
22 netcfgx.rc
23 ${CMAKE_CURRENT_BINARY_DIR}/netcfgx.def)
24
25 set_module_type(netcfgx win32dll UNICODE)
26 target_link_libraries(netcfgx uuid wine)
27 add_importlibs(netcfgx rpcrt4 setupapi advapi32 iphlpapi dhcpcsvc ole32 user32 comctl32 ws2_32 msvcrt kernel32 ntdll)
28 add_pch(netcfgx precomp.h SOURCE)
29 add_cd_file(TARGET netcfgx DESTINATION reactos/system32 FOR all)