76ac6f81bbf3648626014e55e8579cc198693664
[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 ${CMAKE_CURRENT_SOURCE_DIR}/netapi32.spec ${CMAKE_CURRENT_BINARY_DIR}/netapi32.def)
6
7 add_library(netapi32 SHARED
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
21 set_module_type(netapi32 win32dll)
22
23 target_link_libraries(netapi32
24 ${CMAKE_CURRENT_BINARY_DIR}/netapi32.def
25 wine)
26
27 add_importlibs(netapi32 iphlpapi ws2_32 advapi32 kernel32 ntdll)
28 add_dependencies(netapi32 netapi32_def)
29 add_livecd_target(netapi32 reactos/system32)