b9536113a8a5bd910f9d29e9af9d0b23408d9d3e
[reactos.git] / dll / directx / dsound / CMakeLists.txt
1
2 add_definitions(
3 -D_WINE
4 -D_DLL -D__USE_CRTIMP)
5
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8 spec2def(dsound.dll dsound.spec)
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 regsvr.c
21 sound3d.c
22 version.rc
23 ${CMAKE_CURRENT_BINARY_DIR}/dsound.def)
24
25 set_module_type(dsound win32dll)
26
27 target_link_libraries(dsound
28 dxguid
29 uuid
30 wine)
31
32 add_importlibs(dsound
33 msvcrt
34 user32
35 advapi32
36 ole32
37 winmm
38 kernel32
39 ntdll)
40
41 add_cab_target(dsound 1)
42 add_importlib_target(dsound.spec)