2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-D_WINE
|
2013-04-13 23:33:54 +00:00
|
|
|
-D_USE_MATH_DEFINES
|
|
|
|
-D__WINESRC__)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(dsound.dll dsound.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(dsound MODULE
|
2011-05-16 13:12:07 +00:00
|
|
|
buffer.c
|
|
|
|
capture.c
|
|
|
|
dsound.c
|
|
|
|
dsound_convert.c
|
|
|
|
dsound_main.c
|
|
|
|
duplex.c
|
|
|
|
mixer.c
|
|
|
|
primary.c
|
|
|
|
propset.c
|
|
|
|
sound3d.c
|
2014-01-20 11:30:39 +00:00
|
|
|
guid.c
|
2013-09-30 19:58:15 +00:00
|
|
|
version.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dsound.def)
|
|
|
|
|
2013-09-30 19:58:15 +00:00
|
|
|
set_module_type(dsound win32dll)
|
2013-04-13 23:33:54 +00:00
|
|
|
target_link_libraries(dsound dxguid uuid wine)
|
2014-09-28 20:12:26 +00:00
|
|
|
add_importlibs(dsound winmm advapi32 msvcrt kernel32 ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET dsound DESTINATION reactos/system32 FOR all)
|