[TWAIN_32] Sync with Wine 3.0. CORE-14225
[reactos.git] / dll / win32 / twain_32 / CMakeLists.txt
1
2 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4 spec2def(twain_32.dll twain_32.spec)
5
6 list(APPEND SOURCE
7 dsm_ctrl.c
8 twain32_main.c
9 twain_i.h)
10
11 add_library(twain_32 SHARED
12 ${SOURCE}
13 twain_32.rc
14 ${CMAKE_CURRENT_BINARY_DIR}/twain_32.def)
15
16 set_module_type(twain_32 win32dll)
17 target_link_libraries(twain_32 wine)
18 add_importlibs(twain_32 user32 msvcrt kernel32 ntdll)
19 add_pch(twain_32 twain_i.h SOURCE)
20 add_cd_file(TARGET twain_32 DESTINATION reactos FOR all)