1 2include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 3add_definitions(-D__WINESRC__) 4spec2def(tapi32.dll tapi32.spec) 5 6list(APPEND SOURCE 7 assisted.c 8 internal.c 9 line.c 10 phone.c 11 precomp.h 12 ${CMAKE_CURRENT_BINARY_DIR}/tapi32_stubs.c) 13 14add_library(tapi32 MODULE 15 ${SOURCE} 16 ${CMAKE_CURRENT_BINARY_DIR}/tapi32.def) 17 18set_module_type(tapi32 win32dll) 19target_link_libraries(tapi32 wine) 20add_importlibs(tapi32 advapi32 msvcrt kernel32 ntdll) 21add_pch(tapi32 precomp.h SOURCE) 22add_cd_file(TARGET tapi32 DESTINATION reactos/system32 FOR all) 23