[CMAKE]
[reactos.git] / dll / win32 / avifil32 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 remove_definitions(-D_WIN32_WINNT=0x502)
4 add_definitions(-D_WIN32_WINNT=0x600)
5 add_definitions(-D_DLL -D__USE_CRTIMP)
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8 spec2def(avifil32.dll avifil32.spec)
9
10 add_library(avifil32 SHARED
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 regsvr.c
20 tmpfile.c
21 wavfile.c
22 rsrc.rc
23 ${CMAKE_CURRENT_BINARY_DIR}/avifil32.def)
24
25 set_module_type(avifil32 win32dll)
26
27 target_link_libraries(avifil32
28 uuid
29 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_cab_target(avifil32 1)