reactos/dll/directx/dplayx/CMakeLists.txt
Jérôme Gardou 91f3191275 [CMAKE]
- refactor a bit add_cd_file for more flexibility. Add FOR argument for specifying target cd images.

svn path=/branches/cmake-bringup/; revision=51749
2011-05-14 20:54:46 +00:00

41 lines
695 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_cd_file(TARGET dplayx DESTINATION reactos/system32 FOR all)
add_importlib_target(dplayx.spec)