1 2remove_definitions(-D_WIN32_WINNT=0x502) 3add_definitions(-D_WIN32_WINNT=0x600) 4 5add_definitions(-D__WINESRC__ -DENTRY_PREFIX=avifil32_) 6include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 7spec2def(avifil32.dll avifil32.spec ADD_IMPORTLIB) 8add_rpcproxy_files(avifil32.idl) 9 10list(APPEND SOURCE 11 acmstream.c 12 api.c 13 avifile.c 14 editstream.c 15 extrachunk.c 16 factory.c 17 getframe.c 18 icmstream.c 19 tmpfile.c 20 wavfile.c) 21 22list(APPEND PCH_SKIP_SOURCE 23 guid.c 24 ${CMAKE_CURRENT_BINARY_DIR}/avifil32_p.c) 25 26add_library(avifil32 MODULE 27 ${SOURCE} 28 ${PCH_SKIP_SOURCE} 29 rsrc.rc 30 ${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c 31 ${CMAKE_CURRENT_BINARY_DIR}/avifil32.def) 32 33set_module_type(avifil32 win32dll) 34target_link_libraries(avifil32 wine ${PSEH_LIB}) 35add_importlibs(avifil32 msacm32 msvfw32 winmm ole32 user32 advapi32 rpcrt4 msvcrt kernel32 ntdll) 36add_pch(avifil32 precomp.h "${PCH_SKIP_SOURCE}") 37add_cd_file(TARGET avifil32 DESTINATION reactos/system32 FOR all) 38