2c9171da4d4a9353fcd67c63bdc870807c9ac89c
[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 list(APPEND SOURCE
8 ntdsapi.c
9 ${CMAKE_CURRENT_BINARY_DIR}/ntdsapi.def)
10
11 add_library(ntdsapi SHARED ${SOURCE})
12 set_entrypoint(ntdsapi 0)
13
14 target_link_libraries(ntdsapi wine)
15
16 add_importlibs(ntdsapi user32 kernel32 ntdll)
17 add_importlib_target(ntdsapi.spec)
18 add_dependencies(ntdsapi psdk buildno_header)
19 add_cab_target(ntdsapi 1)