reactos/dll/directx/dmusic/CMakeLists.txt
Amine Khaldi b02b04fc53 [CMAKE]
- More work on the dlls. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=49105
2010-10-10 22:58:42 +00:00

40 lines
764 B
CMake

set_unicode()
add_definitions(-D__WINESRC__)
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(dmusic ${CMAKE_CURRENT_SOURCE_DIR}/dmusic.spec ${CMAKE_CURRENT_BINARY_DIR}/dmusic.def)
add_library(dmusic SHARED
buffer.c
clock.c
collection.c
dmusic.c
dmusic_main.c
download.c
downloadedinstrument.c
instrument.c
port.c
regsvr.c
version.rc)
set_entrypoint(dmusic 0)
target_link_libraries(dmusic
${CMAKE_CURRENT_BINARY_DIR}/dmusic.def
dxguid
uuid
wine)
add_importlibs(dmusic
user32
advapi32
ole32
dsound
kernel32
ntdll)
add_dependencies(dmusic dmusic_def psdk buildno_header)