0c15d5c0defdc0a7b2fd6e5c105f1ba8f444af98
[reactos.git] / dll / cpl / mmsys / CMakeLists.txt
1
2 set_unicode()
3
4 add_definitions(-D_DLL -D__USE_CRTIMP)
5
6 spec2def(mmsys ${CMAKE_CURRENT_SOURCE_DIR}/mmsys.spec ${CMAKE_CURRENT_BINARY_DIR}/mmsys.def)
7
8 add_library(mmsys SHARED
9 mmsys.c
10 sounds.c
11 volume.c
12 audio.c
13 voice.c
14 mmsys.rc)
15
16 set_module_type(mmsys cpl)
17
18 target_link_libraries(mmsys ${CMAKE_CURRENT_BINARY_DIR}/mmsys.def)
19
20 add_importlibs(mmsys
21 msvcrt
22 user32
23 comctl32
24 devmgr
25 gdi32
26 winmm
27 advapi32
28 shell32
29 setupapi
30 shlwapi
31 ntdll
32 kernel32)
33
34 add_dependencies(mmsys mmsys_def)