1 2add_definitions(-D__WINESRC__) 3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 4spec2def(mciavi32.dll mciavi32.spec) 5 6list(APPEND SOURCE 7 info.c 8 mciavi.c 9 mmoutput.c 10 wnd.c 11 precomp.h) 12 13add_library(mciavi32 SHARED 14 ${SOURCE} 15 mciavi_res.rc 16 ${CMAKE_CURRENT_BINARY_DIR}/mciavi32.def) 17 18set_module_type(mciavi32 win32dll) 19target_link_libraries(mciavi32 wine) 20add_importlibs(mciavi32 msvfw32 winmm user32 gdi32 msvcrt kernel32 ntdll) 21add_pch(mciavi32 precomp.h SOURCE) 22add_cd_file(TARGET mciavi32 DESTINATION reactos/system32 FOR all) 23