[AMSTREAM] We don't need to define WIDL_C_INLINE_WRAPPERS here anymore.
[reactos.git] / 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(BEFORE ${REACTOS_SOURCE_DIR}/sdk/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 guid.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 advapi32 msvcrt kernel32 ntdll)
28 add_cd_file(TARGET dsound DESTINATION reactos/system32 FOR all)