[CMAKE]
[reactos.git] / dll / win32 / twain_32 / CMakeLists.txt
1
2 add_definitions(-D_DLL -D__USE_CRTIMP)
3
4 add_library(twain_32 SHARED
5 capability.c
6 ds_audio.c
7 ds_ctrl.c
8 ds_image.c
9 dsm_ctrl.c
10 twain32_main.c
11 twain_32.rc
12 twain_32.def)
13
14 if(NOT MSVC)
15 set_source_files_properties(twain_32.def PROPERTIES EXTERNAL_OBJECT TRUE)
16 endif()
17
18 set_module_type(twain_32 win32dll)
19
20 target_link_libraries(twain_32 wine)
21
22 add_importlibs(twain_32 msvcrt kernel32 ntdll)
23
24 add_cab_target(twain_32 1)