2019-06-20 09:37:00 +00:00
|
|
|
|
|
|
|
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}
|
2020-03-06 18:09:28 +00:00
|
|
|
version.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dsound.def)
|
2019-06-20 09:37:00 +00:00
|
|
|
|
|
|
|
set_module_type(dsound win32dll)
|
|
|
|
target_link_libraries(dsound dxguid uuid)
|
2019-07-19 13:32:07 +00:00
|
|
|
add_importlibs(dsound winmm ole32 advapi32 setupapi ksuser user32 msvcrt kernel32 ntdll)
|
2019-06-20 09:37:00 +00:00
|
|
|
add_pch(dsound precomp.h SOURCE)
|
|
|
|
add_cd_file(TARGET dsound DESTINATION reactos/system32 FOR all)
|