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