reactos/dll/win32/winmm/CMakeLists.txt
Amine Khaldi 527f2f9057 [SHELL/EXPERIMENTS]
* Create a branch for some evul shell experiments.

svn path=/branches/shell-experiments/; revision=61927
2014-02-02 19:37:27 +00:00

28 lines
649 B
CMake

add_definitions(-D_WINE)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(winmm.dll winmm.spec ADD_IMPORTLIB)
list(APPEND SOURCE
driver.c
joystick.c
lolvldrv.c
mci.c
mmio.c
playsound.c
registry.c
time.c
winmm.c
${CMAKE_CURRENT_BINARY_DIR}/winmm_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/winmm.def)
add_library(winmm SHARED
${SOURCE}
winmm_res.rc)
set_module_type(winmm win32dll)
target_link_libraries(winmm wine ${PSEH_LIB})
add_importlibs(winmm advapi32 user32 msvcrt kernel32 ntdll)
add_subdirectory(midimap)
add_cd_file(TARGET winmm DESTINATION reactos/system32 FOR all)