7d078a7ddf7b93dce1bff2d52c04bb572055cc85
[reactos.git] / dll / win32 / hnetcfg / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 remove_definitions(-D_WIN32_WINNT=0x502)
4 add_definitions(-D_WIN32_WINNT=0x600)
5 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
6
7 spec2def(hnetcfg.dll hnetcfg.spec)
8
9 add_library(hnetcfg SHARED
10 apps.c
11 hnetcfg.c
12 manager.c
13 policy.c
14 port.c
15 profile.c
16 regsvr.c
17 service.c
18 ${CMAKE_CURRENT_BINARY_DIR}/hnetcfg.def)
19
20 set_module_type(hnetcfg win32dll)
21
22 target_link_libraries(hnetcfg wine)
23
24 add_importlibs(hnetcfg
25 ole32
26 advapi32
27 kernel32
28 ntdll)
29
30
31 add_cab_target(hnetcfg 1)