[DSOUND]
[reactos.git] / reactos / dll / directx / wine / dsound / CMakeLists.txt
1
2 add_definitions(
3 -D_WINE
4 -D_USE_MATH_DEFINES
5 -D__WINESRC__)
6
7 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
8 spec2def(dsound.dll dsound.spec ADD_IMPORTLIB)
9
10 add_library(dsound SHARED
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 version.rc
22 ${CMAKE_CURRENT_BINARY_DIR}/dsound.def)
23
24 set_module_type(dsound win32dll)
25 target_link_libraries(dsound dxguid uuid wine)
26 add_importlibs(dsound ole32 advapi32 user32 msvcrt kernel32 ntdll)
27 add_cd_file(TARGET dsound DESTINATION reactos/system32 FOR all)