[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 ${CMAKE_CURRENT_SOURCE_DIR}/avifil32.spec ${CMAKE_CURRENT_BINARY_DIR}/avifil32.def)
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
24 set_module_type(avifil32 win32dll)
25
26 target_link_libraries(avifil32
27 ${CMAKE_CURRENT_BINARY_DIR}/avifil32.def
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 add_dependencies(avifil32 avifil32_def)
43 add_livecd_target(avifil32 reactos/system32)