mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 04:20:46 +00:00
[CMAKE]
- Add importlib for dplayx, ksuser, wined3d - link dplay to dplayx svn path=/branches/cmake-bringup/; revision=49900
This commit is contained in:
parent
dc90d687fe
commit
d044fc5af3
4 changed files with 12 additions and 6 deletions
|
@ -5,7 +5,10 @@ include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||||
|
|
||||||
spec2def(dplay.dll dplay.spec)
|
spec2def(dplay.dll dplay.spec)
|
||||||
|
|
||||||
add_library(dplay SHARED dplay_main.c version.rc ${CMAKE_CURRENT_BINARY_DIR}/dplay.def)
|
add_library(dplay SHARED
|
||||||
|
dplay_main.c
|
||||||
|
version.rc
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/dplay.def)
|
||||||
|
|
||||||
set_entrypoint(dplay 0)
|
set_entrypoint(dplay 0)
|
||||||
|
|
||||||
|
@ -19,8 +22,10 @@ add_importlibs(dplay
|
||||||
ole32
|
ole32
|
||||||
winmm
|
winmm
|
||||||
dinput
|
dinput
|
||||||
|
dplayx
|
||||||
ntdll)
|
ntdll)
|
||||||
|
|
||||||
add_dependencies(dplay psdk buildno_header)
|
add_dependencies(dplay psdk buildno_header)
|
||||||
|
|
||||||
add_cab_target(dplay 1)
|
add_cab_target(dplay 1)
|
||||||
|
add_importlib_target(dplay.spec libdplayx)
|
||||||
|
|
|
@ -14,7 +14,7 @@ list(APPEND SOURCE
|
||||||
name_server.c
|
name_server.c
|
||||||
regsvr.c
|
regsvr.c
|
||||||
version.rc
|
version.rc
|
||||||
dplayx.def)
|
${CMAKE_CURRENT_BINARY_DIR}/dplayx.def)
|
||||||
|
|
||||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@ add_library(dplayx SHARED ${SOURCE})
|
||||||
set_module_type(dplayx win32dll)
|
set_module_type(dplayx win32dll)
|
||||||
|
|
||||||
target_link_libraries(dplayx
|
target_link_libraries(dplayx
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/dplayx.def
|
|
||||||
wine
|
wine
|
||||||
uuid
|
uuid
|
||||||
dxguid)
|
dxguid)
|
||||||
|
@ -37,3 +36,4 @@ add_importlibs(dplayx
|
||||||
ntdll)
|
ntdll)
|
||||||
|
|
||||||
add_cab_target(dplayx 1)
|
add_cab_target(dplayx 1)
|
||||||
|
add_importlib_target(dplayx.spec)
|
||||||
|
|
|
@ -8,3 +8,4 @@ set_module_type(ksuser win32dll)
|
||||||
add_importlibs(ksuser advapi32 msvcrt kernel32 ntdll)
|
add_importlibs(ksuser advapi32 msvcrt kernel32 ntdll)
|
||||||
add_dependencies(ksuser psdk bugcodes)
|
add_dependencies(ksuser psdk bugcodes)
|
||||||
add_cab_target(ksuser 1)
|
add_cab_target(ksuser 1)
|
||||||
|
add_importlib_target(ksuser.spec)
|
||||||
|
|
Loading…
Reference in a new issue