[AMSTREAM] We don't need to define WIDL_C_INLINE_WRAPPERS here anymore.
[reactos.git] / dll / directx / wine / dplayx / CMakeLists.txt
1
2 add_definitions(
3 -DCOM_NO_WINDOWS_H
4 -D__WINESRC__)
5
6 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
7 spec2def(dplayx.dll dplayx.spec ADD_IMPORTLIB)
8
9 list(APPEND SOURCE
10 dpclassfactory.c
11 dplay.c
12 dplaysp.c
13 dplayx_global.c
14 dplayx_main.c
15 dplayx_messages.c
16 dplobby.c
17 lobbysp.c
18 name_server.c
19 dplayx_global.h)
20
21 add_library(dplayx SHARED
22 ${SOURCE}
23 version.rc
24 ${CMAKE_CURRENT_BINARY_DIR}/dplayx.def)
25
26 set_module_type(dplayx win32dll)
27 target_link_libraries(dplayx dxguid uuid wine)
28 add_importlibs(dplayx winmm ole32 user32 advapi32 msvcrt kernel32 ntdll)
29 add_pch(dplayx dplayx_global.h SOURCE)
30 add_cd_file(TARGET dplayx DESTINATION reactos/system32 FOR all)