xref: /reactos/dll/directx/wine/dsound/CMakeLists.txt (revision 23373acb)
1c2c66affSColin Finck
2c2c66affSColin Finckadd_definitions(
3c2c66affSColin Finck    -D_WINE
4c2c66affSColin Finck    -D_USE_MATH_DEFINES
5c2c66affSColin Finck    -D__WINESRC__)
6c2c66affSColin Finck
7c2c66affSColin Finckinclude_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
8c2c66affSColin Finckspec2def(dsound.dll dsound.spec ADD_IMPORTLIB)
9c2c66affSColin Finck
10*23373acbSJérôme Gardouadd_library(dsound MODULE
11c2c66affSColin Finck    buffer.c
12c2c66affSColin Finck    capture.c
13c2c66affSColin Finck    dsound.c
14c2c66affSColin Finck    dsound_convert.c
15c2c66affSColin Finck    dsound_main.c
16c2c66affSColin Finck    duplex.c
17c2c66affSColin Finck    mixer.c
18c2c66affSColin Finck    primary.c
19c2c66affSColin Finck    propset.c
20c2c66affSColin Finck    sound3d.c
21c2c66affSColin Finck    guid.c
22c2c66affSColin Finck    version.rc
23c2c66affSColin Finck    ${CMAKE_CURRENT_BINARY_DIR}/dsound.def)
24c2c66affSColin Finck
25c2c66affSColin Finckset_module_type(dsound win32dll)
26c2c66affSColin Fincktarget_link_libraries(dsound dxguid uuid wine)
27c2c66affSColin Finckadd_importlibs(dsound winmm advapi32 msvcrt kernel32 ntdll)
28c2c66affSColin Finckadd_cd_file(TARGET dsound DESTINATION reactos/system32 FOR all)
29