[CMAKE]
[reactos.git] / dll / win32 / ntdsapi / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 spec2def(ntdsapi.dll ntdsapi.spec)
6
7 add_library(ntdsapi SHARED ntdsapi.c
8 ${CMAKE_CURRENT_BINARY_DIR}/ntdsapi.def)
9
10 set_entrypoint(ntdsapi 0)
11
12 target_link_libraries(ntdsapi wine)
13
14 add_importlibs(ntdsapi user32 kernel32 ntdll)
15 add_dependencies(ntdsapi psdk buildno_header)
16 add_cab_target(ntdsapi 1)