2011-05-16 13:12:07 +00:00
|
|
|
|
2013-04-13 13:08:11 +00:00
|
|
|
add_definitions(
|
|
|
|
-DCOM_NO_WINDOWS_H
|
|
|
|
-D__WINESRC__)
|
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(dplayx.dll dplayx.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
dpclassfactory.c
|
|
|
|
dplay.c
|
|
|
|
dplaysp.c
|
|
|
|
dplayx_global.c
|
|
|
|
dplayx_main.c
|
|
|
|
dplayx_messages.c
|
|
|
|
dplobby.c
|
|
|
|
lobbysp.c
|
|
|
|
name_server.c
|
2018-03-08 12:39:19 +00:00
|
|
|
precomp.h)
|
2014-02-09 23:29:31 +00:00
|
|
|
|
|
|
|
add_library(dplayx SHARED
|
|
|
|
${SOURCE}
|
|
|
|
version.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dplayx.def)
|
|
|
|
|
|
|
|
set_module_type(dplayx win32dll)
|
2013-04-13 13:08:11 +00:00
|
|
|
target_link_libraries(dplayx dxguid uuid wine)
|
|
|
|
add_importlibs(dplayx winmm ole32 user32 advapi32 msvcrt kernel32 ntdll)
|
2018-03-08 12:39:19 +00:00
|
|
|
add_pch(dplayx precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET dplayx DESTINATION reactos/system32 FOR all)
|