2010-10-02 11:18:13 +00:00
|
|
|
|
|
|
|
add_definitions(-D_WINE)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
|
2010-10-30 16:08:19 +00:00
|
|
|
spec2def(winmm.dll winmm.spec)
|
2010-10-02 11:18:13 +00:00
|
|
|
|
|
|
|
set_rc_compiler()
|
|
|
|
|
|
|
|
add_library(winmm SHARED
|
|
|
|
driver.c
|
|
|
|
joystick.c
|
|
|
|
lolvldrv.c
|
|
|
|
mci.c
|
|
|
|
mmio.c
|
|
|
|
playsound.c
|
|
|
|
registry.c
|
|
|
|
time.c
|
|
|
|
winmm.c
|
2010-10-30 16:08:19 +00:00
|
|
|
winmm_res.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/winmm.def)
|
2010-10-02 11:18:13 +00:00
|
|
|
|
|
|
|
set_module_type(winmm win32dll)
|
|
|
|
|
|
|
|
target_link_libraries(winmm
|
|
|
|
wine
|
2010-11-01 17:24:32 +00:00
|
|
|
${PSEH_LIB})
|
2010-10-02 11:18:13 +00:00
|
|
|
|
2010-10-02 16:09:32 +00:00
|
|
|
add_importlibs(winmm advapi32 user32 msvcrt kernel32 ntdll)
|
2010-10-30 16:08:19 +00:00
|
|
|
|
2010-10-02 11:18:13 +00:00
|
|
|
|
|
|
|
add_subdirectory(midimap)
|
2010-10-30 09:53:53 +00:00
|
|
|
add_cab_target(winmm 1)
|