xref: /reactos/dll/win32/wldap32/CMakeLists.txt (revision 1734f297)
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
27list(APPEND PCH_SKIP_SOURCE
28    ber.c)
29
30add_library(wldap32 MODULE
31    ${SOURCE}
32    ${PCH_SKIP_SOURCE}
33    wldap32.rc
34    ${CMAKE_CURRENT_BINARY_DIR}/wldap32_stubs.c
35    ${CMAKE_CURRENT_BINARY_DIR}/wldap32.def)
36
37set_module_type(wldap32 win32dll)
38target_link_libraries(wldap32 wine)
39add_importlibs(wldap32 user32 msvcrt kernel32 ntdll)
40add_pch(wldap32 precomp.h "${PCH_SKIP_SOURCE}")
41add_cd_file(TARGET wldap32 DESTINATION reactos/system32 FOR all)
42