* Sync up to trunk r55544.
[reactos.git] / dll / win32 / hnetcfg / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 remove_definitions(-D_WIN32_WINNT=0x502)
5 add_definitions(-D_WIN32_WINNT=0x600)
6
7 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
8
9 set_rc_compiler()
10 spec2def(hnetcfg.dll hnetcfg.spec)
11
12 list(APPEND SOURCE
13 apps.c
14 hnetcfg.c
15 manager.c
16 policy.c
17 port.c
18 profile.c
19 service.c
20 hnetcfg.rc
21 ${CMAKE_CURRENT_BINARY_DIR}/hnetcfg.def)
22
23 add_library(hnetcfg SHARED ${SOURCE})
24
25 set_module_type(hnetcfg win32dll)
26
27 target_link_libraries(hnetcfg wine uuid)
28
29 add_importlibs(hnetcfg
30 ole32
31 advapi32
32 msvcrt
33 kernel32
34 ntdll)
35
36 add_cd_file(TARGET hnetcfg DESTINATION reactos/system32 FOR all)