[CMAKE]
[reactos.git] / dll / win32 / twain_32 / CMakeLists.txt
1
2 add_definitions(-D_DLL -D__USE_CRTIMP)
3
4 spec2def(twain_32.dll twain_32.spec)
5
6 list(APPEND SOURCE
7 capability.c
8 ds_audio.c
9 ds_ctrl.c
10 ds_image.c
11 dsm_ctrl.c
12 twain32_main.c
13 twain_32.rc
14 ${CMAKE_CURRENT_BINARY_DIR}/twain_32.def)
15
16 add_library(twain_32 SHARED ${SOURCE})
17
18 set_module_type(twain_32 win32dll)
19 target_link_libraries(twain_32 wine)
20 add_importlibs(twain_32 msvcrt kernel32 ntdll)
21 add_cd_file(TARGET twain_32 DESTINATION reactos/system32 FOR all)