mirror of
https://github.com/reactos/reactos.git
synced 2024-10-03 07:53:49 +00:00
31 lines
594 B
CMake
31 lines
594 B
CMake
|
|
||
|
spec2def(dsound.dll dsound.spec ADD_IMPORTLIB)
|
||
|
|
||
|
list(APPEND SOURCE
|
||
|
capture.c
|
||
|
capturebuffer.c
|
||
|
classfactory.c
|
||
|
devicelist.c
|
||
|
directsound.c
|
||
|
dsound.c
|
||
|
enum.c
|
||
|
misc.c
|
||
|
notify.c
|
||
|
primary.c
|
||
|
property.c
|
||
|
regsvr.c
|
||
|
secondary.c
|
||
|
stubs.c
|
||
|
precomp.h
|
||
|
resource.h)
|
||
|
|
||
|
add_library(dsound MODULE
|
||
|
${SOURCE}
|
||
|
version.rc)
|
||
|
|
||
|
set_module_type(dsound win32dll)
|
||
|
target_link_libraries(dsound dxguid uuid)
|
||
|
add_importlibs(dsound winmm advapi32 msvcrt kernel32 ntdll)
|
||
|
add_pch(dsound precomp.h SOURCE)
|
||
|
add_cd_file(TARGET dsound DESTINATION reactos/system32 FOR all)
|