[ACPPAGE] Make use of the PCH.
[reactos.git] / dll / cpl / mmsys / CMakeLists.txt
1
2 spec2def(mmsys.cpl mmsys.spec)
3
4 list(APPEND SOURCE
5 mmsys.c
6 sounds.c
7 volume.c
8 audio.c
9 voice.c
10 mmsys.h)
11
12 file(GLOB mmsys_rc_deps resources/*.*)
13 add_rc_deps(mmsys.rc ${mmsys_rc_deps})
14
15 add_library(mmsys SHARED
16 ${SOURCE}
17 mmsys.rc
18 ${CMAKE_CURRENT_BINARY_DIR}/mmsys.def)
19
20 set_module_type(mmsys cpl UNICODE)
21 add_importlibs(mmsys user32 comctl32 devmgr gdi32 winmm advapi32 shell32 setupapi shlwapi comdlg32 msvcrt kernel32 ntdll)
22 add_pch(mmsys mmsys.h SOURCE)
23 add_cd_file(TARGET mmsys DESTINATION reactos/system32 FOR all)