xref: /reactos/dll/win32/avifil32/CMakeLists.txt (revision 19b18ce2)
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    ${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
22    precomp.h)
23
24add_library(avifil32 SHARED
25    ${SOURCE}
26    guid.c
27    rsrc.rc
28    ${CMAKE_CURRENT_BINARY_DIR}/avifil32_p.c
29    ${CMAKE_CURRENT_BINARY_DIR}/avifil32.def)
30
31set_module_type(avifil32 win32dll)
32target_link_libraries(avifil32 wine ${PSEH_LIB})
33add_importlibs(avifil32 msacm32 msvfw32 winmm ole32 user32 advapi32 rpcrt4 msvcrt kernel32 ntdll)
34add_pch(avifil32 precomp.h SOURCE)
35add_cd_file(TARGET avifil32 DESTINATION reactos/system32 FOR all)
36