2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4 spec2def(wldap32.dll wldap32.spec ADD_IMPORTLIB)
28 ${CMAKE_CURRENT_BINARY_DIR}/wldap32_stubs.c
29 ${CMAKE_CURRENT_BINARY_DIR}/wldap32.def)
31 add_library(wldap32 SHARED ${SOURCE})
32 set_module_type(wldap32 win32dll)
33 target_link_libraries(wldap32 wine)
34 add_importlibs(wldap32 user32 msvcrt kernel32 ntdll)
35 add_cd_file(TARGET wldap32 DESTINATION reactos/system32 FOR all)