33a6739366224b8ca8682b05ff9fdba4e84ad160
[reactos.git] / dll / win32 / netapi32 / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 spec2def(netapi32.dll netapi32.spec)
6
7 list(APPEND SOURCE
8 access.c
9 apibuf.c
10 browsr.c
11 ds.c
12 local_group.c
13 nbcmdqueue.c
14 nbnamecache.c
15 nbt.c
16 netapi32.c
17 netbios.c
18 share.c
19 wksta.c
20 ${CMAKE_CURRENT_BINARY_DIR}/netapi32.def)
21
22 add_library(netapi32 SHARED ${SOURCE})
23
24 set_module_type(netapi32 win32dll)
25
26 target_link_libraries(netapi32 wine)
27
28 add_importlibs(netapi32 iphlpapi ws2_32 advapi32 msvcrt kernel32 ntdll)
29
30 add_cab_target(netapi32 1)
31 add_importlib_target(netapi32.spec)