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