[CMAKE]
[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 add_library(winmm SHARED
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 set_module_type(winmm win32dll)
23
24 target_link_libraries(winmm
25 wine
26 pseh)
27
28 add_importlibs(winmm advapi32 user32 msvcrt kernel32 ntdll)
29
30
31 add_subdirectory(midimap)
32 add_cab_target(winmm 1)