2011-05-16 13:12:07 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2013-12-03 11:27:32 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2011-05-16 13:12:07 +00:00
|
|
|
spec2def(twain_32.dll twain_32.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
dsm_ctrl.c
|
|
|
|
twain32_main.c
|
2018-03-23 11:33:24 +00:00
|
|
|
precomp.h)
|
2014-02-10 12:19:56 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(twain_32 MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
|
|
|
twain_32.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/twain_32.def)
|
|
|
|
|
|
|
|
set_module_type(twain_32 win32dll)
|
|
|
|
target_link_libraries(twain_32 wine)
|
2018-01-20 12:17:45 +00:00
|
|
|
add_importlibs(twain_32 user32 msvcrt kernel32 ntdll)
|
2018-03-23 11:33:24 +00:00
|
|
|
add_pch(twain_32 precomp.h SOURCE)
|
2013-12-03 11:27:32 +00:00
|
|
|
add_cd_file(TARGET twain_32 DESTINATION reactos FOR all)
|