1 2spec2def(dsound.dll dsound.spec ADD_IMPORTLIB) 3 4list(APPEND SOURCE 5 capture.c 6 capturebuffer.c 7 classfactory.c 8 devicelist.c 9 directsound.c 10 dsound.c 11 enum.c 12 misc.c 13 notify.c 14 primary.c 15 property.c 16 regsvr.c 17 secondary.c 18 stubs.c 19 precomp.h 20 resource.h) 21 22add_library(dsound MODULE 23 ${SOURCE} 24 version.rc) 25 26set_module_type(dsound win32dll) 27target_link_libraries(dsound dxguid uuid) 28add_importlibs(dsound winmm ole32 advapi32 setupapi ksuser user32 msvcrt kernel32 ntdll) 29add_pch(dsound precomp.h SOURCE) 30add_cd_file(TARGET dsound DESTINATION reactos/system32 FOR all) 31