[CMAKE]
[reactos.git] / dll / directx / dplayx / CMakeLists.txt
1
2 set_rc_compiler()
3
4 spec2def(dplayx.dll dplayx.spec)
5
6 list(APPEND SOURCE
7 dpclassfactory.c
8 dplay.c
9 dplaysp.c
10 dplayx_global.c
11 dplayx_main.c
12 dplayx_messages.c
13 dplobby.c
14 lobbysp.c
15 name_server.c
16 regsvr.c
17 version.rc
18 ${CMAKE_CURRENT_BINARY_DIR}/dplayx.def)
19
20 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
21
22 add_library(dplayx SHARED ${SOURCE})
23 set_module_type(dplayx win32dll)
24
25 target_link_libraries(dplayx
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
39 add_cd_file(TARGET dplayx DESTINATION reactos/system32)
40 add_importlib_target(dplayx.spec)