2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
2016-03-01 18:31:48 +00:00
|
|
|
add_definitions(-D__WINESRC__ -DENTRY_PREFIX=avifil32_)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(avifil32.dll avifil32.spec ADD_IMPORTLIB)
|
2018-03-09 11:46:31 +00:00
|
|
|
add_rpcproxy_files(avifil32.idl)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2014-02-10 12:19:56 +00:00
|
|
|
list(APPEND SOURCE
|
2011-05-16 13:12:07 +00:00
|
|
|
acmstream.c
|
|
|
|
api.c
|
|
|
|
avifile.c
|
|
|
|
editstream.c
|
|
|
|
extrachunk.c
|
|
|
|
factory.c
|
|
|
|
getframe.c
|
|
|
|
icmstream.c
|
|
|
|
tmpfile.c
|
|
|
|
wavfile.c
|
2018-03-09 11:46:31 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
|
|
|
precomp.h)
|
2014-02-10 12:19:56 +00:00
|
|
|
|
|
|
|
add_library(avifil32 SHARED
|
|
|
|
${SOURCE}
|
2013-12-25 13:27:32 +00:00
|
|
|
guid.c
|
2011-05-16 13:12:07 +00:00
|
|
|
rsrc.rc
|
2018-03-09 11:46:31 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/avifil32_p.c
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/avifil32.def)
|
|
|
|
|
|
|
|
set_module_type(avifil32 win32dll)
|
2016-03-01 18:31:48 +00:00
|
|
|
target_link_libraries(avifil32 wine ${PSEH_LIB})
|
|
|
|
add_importlibs(avifil32 msacm32 msvfw32 winmm ole32 user32 advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
2018-03-09 11:46:31 +00:00
|
|
|
add_pch(avifil32 precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET avifil32 DESTINATION reactos/system32 FOR all)
|