303cc83b04deb6451753ae6c38f18da9764caede
[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 add_rpcproxy_files(avifil32.idl)
9
10 list(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 avifile_private.h)
23
24 add_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
31 set_module_type(avifil32 win32dll)
32 target_link_libraries(avifil32 wine ${PSEH_LIB})
33 add_importlibs(avifil32 msacm32 msvfw32 winmm ole32 user32 advapi32 rpcrt4 msvcrt kernel32 ntdll)
34 add_pch(avifil32 avifile_private.h SOURCE)
35 add_cd_file(TARGET avifil32 DESTINATION reactos/system32 FOR all)