2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
spec2def(mmsys.cpl mmsys.spec)
|
|
|
|
|
2014-02-09 12:26:28 +00:00
|
|
|
list(APPEND SOURCE
|
2011-05-16 13:12:07 +00:00
|
|
|
mmsys.c
|
|
|
|
sounds.c
|
|
|
|
volume.c
|
|
|
|
audio.c
|
|
|
|
voice.c
|
2014-02-09 12:26:28 +00:00
|
|
|
mmsys.h)
|
|
|
|
|
2015-09-27 18:30:39 +00:00
|
|
|
file(GLOB mmsys_rc_deps resources/*.*)
|
|
|
|
add_rc_deps(mmsys.rc ${mmsys_rc_deps})
|
|
|
|
|
2014-02-09 12:26:28 +00:00
|
|
|
add_library(mmsys SHARED
|
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
mmsys.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mmsys.def)
|
|
|
|
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(mmsys cpl UNICODE)
|
2014-10-17 23:28:29 +00:00
|
|
|
add_importlibs(mmsys user32 comctl32 devmgr gdi32 winmm advapi32 shell32 setupapi shlwapi comdlg32 msvcrt kernel32 ntdll)
|
2014-02-09 12:26:28 +00:00
|
|
|
add_pch(mmsys mmsys.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET mmsys DESTINATION reactos/system32 FOR all)
|