2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
add_definitions(-D_WINE)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(msvfw32.dll msvfw32.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
mciwnd.c
|
|
|
|
msvideo_main.c
|
|
|
|
drawdib.c
|
2018-03-20 11:20:13 +00:00
|
|
|
precomp.h
|
2014-02-10 12:19:56 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/msvfw32_stubs.c)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(msvfw32 MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
|
|
|
rsrc.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/msvfw32.def)
|
|
|
|
|
|
|
|
set_module_type(msvfw32 win32dll)
|
|
|
|
target_link_libraries(msvfw32 wine)
|
2013-09-23 11:36:07 +00:00
|
|
|
add_importlibs(msvfw32 winmm comctl32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
|
2018-03-20 11:20:13 +00:00
|
|
|
add_pch(msvfw32 precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET msvfw32 DESTINATION reactos/system32 FOR all)
|