[CMAKE]
[reactos.git] / dll / win32 / twain_32 / CMakeLists.txt
1
2 add_definitions(-D_DLL -D__USE_CRTIMP)
3
4 spec2def(twain_32 ${CMAKE_CURRENT_SOURCE_DIR}/twain_32.spec ${CMAKE_CURRENT_BINARY_DIR}/twain_32.def)
5
6 add_library(twain_32 SHARED
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
15 set_module_type(twain_32 win32dll)
16
17 target_link_libraries(twain_32
18 ${CMAKE_CURRENT_BINARY_DIR}/twain_32.def
19 wine)
20
21 add_importlibs(twain_32 msvcrt kernel32 ntdll)
22 add_dependencies(twain_32 twain_32_def)
23 add_cab_target(twain_32 1)