[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 spec2def(wldap32 ${CMAKE_CURRENT_SOURCE_DIR}/wldap32.spec ${CMAKE_CURRENT_BINARY_DIR}/wldap32.def)
6
7 add_library(wldap32 SHARED
8 add.c
9 ber.c
10 bind.c
11 compare.c
12 control.c
13 delete.c
14 dn.c
15 error.c
16 extended.c
17 init.c
18 main.c
19 misc.c
20 modify.c
21 modrdn.c
22 option.c
23 page.c
24 parse.c
25 rename.c
26 search.c
27 value.c
28 wldap32.rc)
29
30 set_module_type(wldap32 win32dll)
31
32 target_link_libraries(wldap32
33 ${CMAKE_CURRENT_BINARY_DIR}/wldap32.def
34 wine)
35
36 add_importlibs(wldap32 user32 kernel32 ntdll)
37 add_dependencies(wldap32 wldap32_def)
38 add_livecd_target(wldap32 reactos/system32)