xref: /reactos/dll/directx/wine/dsound/CMakeLists.txt (revision 98e8827a)
1
2add_definitions(
3    -D_WINE
4    -D_USE_MATH_DEFINES
5    -D__WINESRC__)
6
7include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
8spec2def(dsound.dll dsound.spec ADD_IMPORTLIB)
9
10add_library(dsound MODULE
11    buffer.c
12    capture.c
13    dsound.c
14    dsound_convert.c
15    dsound_main.c
16    duplex.c
17    mixer.c
18    primary.c
19    propset.c
20    sound3d.c
21    guid.c
22    version.rc
23    ${CMAKE_CURRENT_BINARY_DIR}/dsound.def)
24
25set_module_type(dsound win32dll)
26target_link_libraries(dsound dxguid uuid wine)
27add_importlibs(dsound winmm advapi32 msvcrt kernel32 ntdll)
28add_cd_file(TARGET dsound DESTINATION reactos/system32 FOR all)
29