xref: /reactos/dll/win32/wldap32/CMakeLists.txt (revision c2c66aff)
1
2add_definitions(-D__WINESRC__)
3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4spec2def(wldap32.dll wldap32.spec ADD_IMPORTLIB)
5
6list(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
29add_library(wldap32 SHARED
30    ${SOURCE}
31    ber.c
32    wldap32.rc
33    ${CMAKE_CURRENT_BINARY_DIR}/wldap32.def)
34
35set_module_type(wldap32 win32dll)
36target_link_libraries(wldap32 wine)
37add_importlibs(wldap32 user32 msvcrt kernel32 ntdll)
38add_pch(wldap32 winldap_private.h SOURCE)
39add_cd_file(TARGET wldap32 DESTINATION reactos/system32 FOR all)
40