reactos/dll/win32/winmm/CMakeLists.txt
Cameron Gutman c2d0d784c7 [USB-BRINGUP-TRUNK]
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup
- In the future, DO NOT under any circumstances branch another branch. This leads to merge problems!

svn path=/branches/usb-bringup-trunk/; revision=55018
2012-01-20 20:58:46 +00:00

33 lines
706 B
CMake

add_definitions(-D_WINE)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(winmm.dll winmm.spec)
set_rc_compiler()
list(APPEND SOURCE
driver.c
joystick.c
lolvldrv.c
mci.c
mmio.c
playsound.c
registry.c
time.c
winmm.c
winmm_res.rc
${CMAKE_CURRENT_BINARY_DIR}/winmm_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/winmm.def)
add_library(winmm SHARED ${SOURCE})
allow_warnings(winmm)
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)
add_importlib_target(winmm.spec)