ca8c48ddaf54a8b680271bf1c3b1089f05f7758c
[reactos.git] / dll / directx / dplay / CMakeLists.txt
1
2 set_unicode()
3
4 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5
6 spec2def(dplay.dll dplay.spec)
7
8 add_library(dplay SHARED
9 dplay_main.c
10 version.rc
11 ${CMAKE_CURRENT_BINARY_DIR}/dplay.def)
12
13 set_entrypoint(dplay 0)
14
15 target_link_libraries(dplay
16 uuid
17 wine)
18
19 add_importlibs(dplay
20 user32
21 advapi32
22 ole32
23 winmm
24 dinput
25 dplayx
26 ntdll)
27
28 add_dependencies(dplay psdk)
29
30 add_cd_file(TARGET dplay DESTINATION reactos/system32)
31 add_importlib_target(dplay.spec libdplayx)