[DIRECTX/WINE]
[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
9 spec2def(dsound.dll dsound.spec ADD_IMPORTLIB)
10
11 add_library(dsound SHARED
12 buffer.c
13 capture.c
14 dsound.c
15 dsound_convert.c
16 dsound_main.c
17 duplex.c
18 mixer.c
19 primary.c
20 propset.c
21 sound3d.c
22 version.rc
23 ${CMAKE_CURRENT_BINARY_DIR}/dsound.def)
24
25 set_module_type(dsound win32dll)
26 target_link_libraries(dsound dxguid uuid wine)
27 add_importlibs(dsound winmm ole32 advapi32 user32 msvcrt kernel32 ntdll)
28 add_cd_file(TARGET dsound DESTINATION reactos/system32 FOR all)