1 2add_definitions(-D__WINESRC__) 3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 4spec2def(mciqtz32.dll mciqtz32.spec) 5 6list(APPEND SOURCE 7 mciqtz.c 8 ${CMAKE_CURRENT_BINARY_DIR}/mciqtz32.def) 9 10add_library(mciqtz32 MODULE ${SOURCE} mciavi_res.rc) 11set_module_type(mciqtz32 win32dll) 12target_link_libraries(mciqtz32 wine strmiids) 13add_importlibs(mciqtz32 winmm ole32 user32 gdi32 msvcrt kernel32 ntdll) 14add_dependencies(mciqtz32 dxsdk) 15add_cd_file(TARGET mciqtz32 DESTINATION reactos/system32 FOR all) 16