* Sync up to trunk HEAD (r62286).
[reactos.git] / dll / win32 / wldap32 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4 spec2def(wldap32.dll wldap32.spec ADD_IMPORTLIB)
5
6 list(APPEND SOURCE
7 add.c
8 bind.c
9 compare.c
10 control.c
11 delete.c
12 dn.c
13 error.c
14 extended.c
15 init.c
16 main.c
17 misc.c
18 modify.c
19 modrdn.c
20 option.c
21 page.c
22 parse.c
23 rename.c
24 search.c
25 value.c
26 winldap_private.h
27 ${CMAKE_CURRENT_BINARY_DIR}/wldap32_stubs.c)
28
29 add_library(wldap32 SHARED
30 ${SOURCE}
31 ber.c
32 wldap32.rc
33 ${CMAKE_CURRENT_BINARY_DIR}/wldap32.def)
34
35 set_module_type(wldap32 win32dll)
36 target_link_libraries(wldap32 wine)
37 add_importlibs(wldap32 user32 msvcrt kernel32 ntdll)
38 add_pch(wldap32 winldap_private.h SOURCE)
39 add_cd_file(TARGET wldap32 DESTINATION reactos/system32 FOR all)