[CMAKE]
[reactos.git] / dll / win32 / tapi32 / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 spec2def(tapi32.dll tapi32.spec)
6
7 list(APPEND SOURCE
8 assisted.c
9 internal.c
10 line.c
11 phone.c
12 ${CMAKE_CURRENT_BINARY_DIR}/tapi32_stubs.c
13 ${CMAKE_CURRENT_BINARY_DIR}/tapi32.def)
14
15 add_library(tapi32 SHARED ${SOURCE})
16
17 set_entrypoint(tapi32 0)
18
19 target_link_libraries(tapi32 wine)
20
21 add_importlibs(tapi32 advapi32 kernel32 ntdll)
22 add_dependencies(tapi32 psdk buildno_header)
23
24 add_cab_target(tapi32 1)