mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
40 lines
656 B
CMake
40 lines
656 B
CMake
|
|
set_rc_compiler()
|
|
|
|
spec2def(dplayx.dll dplayx.spec)
|
|
|
|
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
|
|
regsvr.c
|
|
version.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/dplayx.def)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
add_library(dplayx SHARED ${SOURCE})
|
|
set_module_type(dplayx win32dll)
|
|
|
|
target_link_libraries(dplayx
|
|
wine
|
|
uuid
|
|
dxguid)
|
|
|
|
add_importlibs(dplayx
|
|
advapi32
|
|
ole32
|
|
user32
|
|
winmm
|
|
msvcrt
|
|
kernel32
|
|
ntdll)
|
|
|
|
add_cab_target(dplayx 1)
|
|
add_importlib_target(dplayx.spec)
|