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