[CMAKE]
[reactos.git] / dll / directx / dplayx / CMakeLists.txt
1 set_rc_compiler()
2
3 spec2def(dplayx.dll dplayx.spec)
4
5 list(APPEND SOURCE
6 dpclassfactory.c
7 dplay.c
8 dplaysp.c
9 dplayx_global.c
10 dplayx_main.c
11 dplayx_messages.c
12 dplobby.c
13 lobbysp.c
14 name_server.c
15 regsvr.c
16 version.rc
17 dplayx.def)
18
19 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
20
21 add_library(dplayx SHARED ${SOURCE})
22 set_module_type(dplayx win32dll)
23
24 target_link_libraries(dplayx
25 ${CMAKE_CURRENT_BINARY_DIR}/dplayx.def
26 wine
27 uuid
28 dxguid)
29
30 add_importlibs(dplayx
31 advapi32
32 ole32
33 user32
34 winmm
35 msvcrt
36 kernel32
37 ntdll)
38