d27400519ac2f92f6f9d1d5f240aeeb934d0b0d4
[reactos.git] / dll / win32 / winmm / CMakeLists.txt
1
2 add_definitions(-D_WINE)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(winmm.dll winmm.spec)
6
7 set_rc_compiler()
8
9 list(APPEND SOURCE
10 driver.c
11 joystick.c
12 lolvldrv.c
13 mci.c
14 mmio.c
15 playsound.c
16 registry.c
17 time.c
18 winmm.c
19 winmm_res.rc
20 ${CMAKE_CURRENT_BINARY_DIR}/winmm.def)
21
22 add_library(winmm SHARED ${SOURCE})
23
24 set_module_type(winmm win32dll)
25
26 target_link_libraries(winmm
27 wine
28 ${PSEH_LIB})
29
30 add_importlibs(winmm advapi32 user32 msvcrt kernel32 ntdll)
31
32
33 add_subdirectory(midimap)
34 add_cab_target(winmm 1)
35 add_importlib_target(winmm.spec)