49f2df7f97c28f09bf045857e82ded225937e132
[reactos.git] / dll / win32 / mciavi32 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(mciavi32 ${CMAKE_CURRENT_SOURCE_DIR}/mciavi32.spec ${CMAKE_CURRENT_BINARY_DIR}/mciavi32.def)
6
7 add_library(mciavi32 SHARED
8 info.c
9 mciavi.c
10 mmoutput.c
11 wnd.c
12 mciavi_res.rc)
13
14 set_module_type(mciavi32 win32dll)
15
16 target_link_libraries(mciavi32
17 ${CMAKE_CURRENT_BINARY_DIR}/mciavi32.def
18 wine)
19
20 add_importlibs(mciavi32 msvfw32 winmm user32 gdi32 kernel32 ntdll)
21 add_dependencies(mciavi32 mciavi32_def)
22 add_cab_target(mciavi32 1)