mirror of
https://github.com/reactos/reactos.git
synced 2024-09-11 21:34:09 +00:00
32 lines
522 B
CMake
32 lines
522 B
CMake
![]() |
|
||
|
set_unicode()
|
||
|
|
||
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||
|
|
||
|
spec2def(dplay.dll dplay.spec)
|
||
|
|
||
|
add_library(dplay SHARED
|
||
|
dplay_main.c
|
||
|
version.rc
|
||
|
${CMAKE_CURRENT_BINARY_DIR}/dplay.def)
|
||
|
|
||
|
set_entrypoint(dplay 0)
|
||
|
|
||
|
target_link_libraries(dplay
|
||
|
uuid
|
||
|
wine)
|
||
|
|
||
|
add_importlibs(dplay
|
||
|
user32
|
||
|
advapi32
|
||
|
ole32
|
||
|
winmm
|
||
|
dinput
|
||
|
dplayx
|
||
|
ntdll)
|
||
|
|
||
|
add_dependencies(dplay psdk)
|
||
|
|
||
|
add_cd_file(TARGET dplay DESTINATION reactos/system32 FOR all)
|
||
|
add_importlib_target(dplay.spec libdplayx)
|