813d1ad4e36688999476a44134ad7b87fce45f4f
[reactos.git] / reactos / dll / win32 / avifil32 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 remove_definitions(-D_WIN32_WINNT=0x502)
5 add_definitions(-D_WIN32_WINNT=0x600)
6
7 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
8
9 set_rc_compiler()
10
11 spec2def(avifil32.dll avifil32.spec ADD_IMPORTLIB)
12
13 add_library(avifil32 SHARED
14 acmstream.c
15 api.c
16 avifile.c
17 editstream.c
18 extrachunk.c
19 factory.c
20 getframe.c
21 icmstream.c
22 tmpfile.c
23 wavfile.c
24 rsrc.rc
25 ${CMAKE_CURRENT_BINARY_DIR}/avifil32.def)
26
27 set_module_type(avifil32 win32dll)
28
29 target_link_libraries(avifil32 uuid wine)
30
31 add_importlibs(avifil32
32 msvcrt
33 msacm32
34 msvfw32
35 winmm
36 ole32
37 user32
38 advapi32
39 kernel32
40 ntdll)
41
42
43 add_cd_file(TARGET avifil32 DESTINATION reactos/system32 FOR all)