mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 01:04:11 +00:00
b02b04fc53
- More work on the dlls. By Alexey Komarov. svn path=/branches/cmake-bringup/; revision=49105
25 lines
483 B
CMake
25 lines
483 B
CMake
|
|
set_unicode()
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(dplay ${CMAKE_CURRENT_SOURCE_DIR}/dplay.spec ${CMAKE_CURRENT_BINARY_DIR}/dplay.def)
|
|
|
|
add_library(dplay SHARED dplay_main.c version.rc)
|
|
|
|
set_entrypoint(dplay 0)
|
|
|
|
target_link_libraries(dplay
|
|
${CMAKE_CURRENT_BINARY_DIR}/dplay.def
|
|
uuid
|
|
wine)
|
|
|
|
add_importlibs(dplay
|
|
user32
|
|
advapi32
|
|
ole32
|
|
winmm
|
|
dinput
|
|
ntdll)
|
|
|
|
add_dependencies(dplay dplay_def psdk buildno_header)
|