mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 01:48:11 +00:00
24 lines
428 B
CMake
24 lines
428 B
CMake
|
|
set_unicode()
|
|
|
|
add_definitions(-DNDEBUG)
|
|
|
|
spec2def(mmdrv.dll mmdrv.spec)
|
|
|
|
list(APPEND SOURCE
|
|
entry.c
|
|
mme.c
|
|
kernel.c
|
|
session.c
|
|
common.c
|
|
wave.c
|
|
wave_io.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/mmdrv.def)
|
|
|
|
add_library(mmdrv SHARED ${SOURCE})
|
|
|
|
set_entrypoint(mmdrv 0)
|
|
add_importlibs(mmdrv winmm user32 kernel32 ntdll)
|
|
add_dependencies(mmdrv psdk)
|
|
add_cd_file(TARGET mmdrv DESTINATION reactos/system32 FOR all)
|