2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
spec2def(mmdrv.dll mmdrv.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
entry.c
|
|
|
|
mme.c
|
|
|
|
kernel.c
|
|
|
|
session.c
|
|
|
|
common.c
|
|
|
|
wave.c
|
|
|
|
wave_io.c
|
2014-02-10 12:19:56 +00:00
|
|
|
mmdrv.h)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(mmdrv MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mmdrv.def)
|
|
|
|
|
2013-02-23 16:45:48 +00:00
|
|
|
set_module_type(mmdrv win32dll UNICODE)
|
2014-10-17 23:28:29 +00:00
|
|
|
add_importlibs(mmdrv winmm user32 msvcrt kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(mmdrv mmdrv.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET mmdrv DESTINATION reactos/system32 FOR all)
|