[CMAKE]
[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 spec2def(hnetcfg.dll hnetcfg.spec)
10
11 list(APPEND SOURCE
12 apps.c
13 hnetcfg.c
14 manager.c
15 policy.c
16 port.c
17 profile.c
18 regsvr.c
19 service.c
20 ${CMAKE_CURRENT_BINARY_DIR}/hnetcfg.def)
21
22 add_library(hnetcfg SHARED ${SOURCE})
23
24 set_module_type(hnetcfg win32dll)
25
26 target_link_libraries(hnetcfg wine uuid)
27
28 add_importlibs(hnetcfg
29 ole32
30 advapi32
31 msvcrt
32 kernel32
33 ntdll)
34
35 add_cd_file(TARGET hnetcfg DESTINATION reactos/system32 FOR all)