1 2spec2def(mmsys.cpl mmsys.spec) 3 4list(APPEND SOURCE 5 mmsys.c 6 sounds.c 7 speakervolume.c 8 volume.c 9 audio.c 10 voice.c 11 mmsys.h) 12 13file(GLOB mmsys_rc_deps resources/*.*) 14add_rc_deps(mmsys.rc ${mmsys_rc_deps}) 15 16add_library(mmsys SHARED 17 ${SOURCE} 18 mmsys.rc 19 ${CMAKE_CURRENT_BINARY_DIR}/mmsys.def) 20 21set_module_type(mmsys cpl UNICODE) 22add_importlibs(mmsys user32 comctl32 devmgr gdi32 winmm advapi32 shell32 setupapi shlwapi comdlg32 msvcrt kernel32 ntdll) 23add_pch(mmsys mmsys.h SOURCE) 24add_cd_file(TARGET mmsys DESTINATION reactos/system32 FOR all) 25