2011-05-16 13:12:07 +00:00
|
|
|
|
2013-04-13 17:29:01 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-05-16 13:12:07 +00:00
|
|
|
spec2def(dmusic.dll dmusic.spec)
|
|
|
|
|
2013-04-13 17:29:01 +00:00
|
|
|
list(APPEND SOURCE
|
2011-05-16 13:12:07 +00:00
|
|
|
buffer.c
|
|
|
|
clock.c
|
|
|
|
collection.c
|
2014-09-26 09:19:09 +00:00
|
|
|
dmobject.c
|
2011-05-16 13:12:07 +00:00
|
|
|
dmusic.c
|
|
|
|
dmusic_main.c
|
|
|
|
download.c
|
|
|
|
instrument.c
|
|
|
|
port.c
|
2014-02-09 23:29:31 +00:00
|
|
|
dmusic_private.h)
|
|
|
|
|
|
|
|
add_library(dmusic SHARED
|
|
|
|
${SOURCE}
|
|
|
|
version.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dmusic.def)
|
|
|
|
|
2013-10-07 12:41:25 +00:00
|
|
|
set_module_type(dmusic win32dll)
|
2013-04-13 17:29:01 +00:00
|
|
|
target_link_libraries(dmusic dxguid uuid wine)
|
2017-06-03 18:05:52 +00:00
|
|
|
add_importlibs(dmusic ole32 advapi32 winmm dsound user32 msvcrt kernel32 ntdll)
|
2014-02-09 23:29:31 +00:00
|
|
|
add_pch(dmusic dmusic_private.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET dmusic DESTINATION reactos/system32 FOR all)
|