2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4 spec2def(wldap32.dll wldap32.spec ADD_IMPORTLIB)
27 ${CMAKE_CURRENT_BINARY_DIR}/wldap32_stubs.c)
29 add_library(wldap32 SHARED
33 ${CMAKE_CURRENT_BINARY_DIR}/wldap32.def)
35 set_module_type(wldap32 win32dll)
36 target_link_libraries(wldap32 wine)
37 add_importlibs(wldap32 user32 msvcrt kernel32 ntdll)
38 add_pch(wldap32 winldap_private.h SOURCE)
39 add_cd_file(TARGET wldap32 DESTINATION reactos/system32 FOR all)