mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00

* Adopt the retar, I mean, actual way of handling resource files. This is a temporary measure until a windres issue is fixed. svn path=/branches/cmake-bringup/; revision=51381
34 lines
464 B
CMake
34 lines
464 B
CMake
|
|
set_unicode()
|
|
set_rc_compiler()
|
|
|
|
add_definitions(-D_DLL -D__USE_CRTIMP)
|
|
|
|
spec2def(mmsys.cpl mmsys.spec)
|
|
|
|
add_library(mmsys SHARED
|
|
mmsys.c
|
|
sounds.c
|
|
volume.c
|
|
audio.c
|
|
voice.c
|
|
mmsys.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/mmsys.def)
|
|
|
|
set_module_type(mmsys cpl)
|
|
|
|
add_importlibs(mmsys
|
|
msvcrt
|
|
user32
|
|
comctl32
|
|
devmgr
|
|
gdi32
|
|
winmm
|
|
advapi32
|
|
shell32
|
|
setupapi
|
|
shlwapi
|
|
ntdll
|
|
kernel32)
|
|
|
|
add_cab_target(mmsys 1)
|