[AVIFIL32] Sync with Wine 3.0. CORE-14225
[reactos.git] / dll / win32 / avifil32 / CMakeLists.txt
1
2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
4
5 add_definitions(-D__WINESRC__ -DENTRY_PREFIX=avifil32_)
6 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
7 spec2def(avifil32.dll avifil32.spec ADD_IMPORTLIB)
8
9 list(APPEND SOURCE
10 acmstream.c
11 api.c
12 avifile.c
13 editstream.c
14 extrachunk.c
15 factory.c
16 getframe.c
17 icmstream.c
18 tmpfile.c
19 wavfile.c
20 avifile_private.h)
21
22 add_library(avifil32 SHARED
23 ${SOURCE}
24 guid.c
25 rsrc.rc
26 ${CMAKE_CURRENT_BINARY_DIR}/avifil32.def)
27
28 set_module_type(avifil32 win32dll)
29 target_link_libraries(avifil32 wine ${PSEH_LIB})
30 add_importlibs(avifil32 msacm32 msvfw32 winmm ole32 user32 advapi32 rpcrt4 msvcrt kernel32 ntdll)
31 add_pch(avifil32 avifile_private.h SOURCE)
32 add_cd_file(TARGET avifil32 DESTINATION reactos/system32 FOR all)