d6c035a5fccb152e567074a5ccd97d1b78586819
[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 ${CMAKE_CURRENT_SOURCE_DIR}/winmm.spec ${CMAKE_CURRENT_BINARY_DIR}/winmm.def)
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
21 set_module_type(winmm win32dll)
22
23 target_link_libraries(winmm
24 ${CMAKE_CURRENT_BINARY_DIR}/winmm.def
25 wine
26 pseh)
27
28 add_importlibs(winmm advapi32 user32 msvcrt kernel32 ntdll)
29 add_dependencies(winmm winmm_def)
30
31 add_subdirectory(midimap)