2010-12-17 21:54:56 +00:00
|
|
|
|
2010-11-05 23:14:29 +00:00
|
|
|
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
|
2010-12-02 19:13:47 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dplayx.def)
|
2010-11-05 23:14:29 +00:00
|
|
|
|
|
|
|
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)
|
2010-11-18 15:41:39 +00:00
|
|
|
|
2011-05-14 20:54:46 +00:00
|
|
|
add_cd_file(TARGET dplayx DESTINATION reactos/system32 FOR all)
|
2010-12-02 19:13:47 +00:00
|
|
|
add_importlib_target(dplayx.spec)
|