mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[DSOUND_NEW][DDRAW] CMake fixes (#2389)
* Create export tables for native ddraw and dsound_new. * Include native ddraw version resource in build process. CORE-16228
This commit is contained in:
parent
92aabb07fb
commit
86785b2c2a
2 changed files with 7 additions and 2 deletions
|
@ -39,7 +39,11 @@ list(APPEND SOURCE
|
|||
Vtable/DirectDrawSurface4_Vtable.c
|
||||
Vtable/DirectDrawSurface7_Vtable.c)
|
||||
|
||||
add_library(ddraw MODULE ${SOURCE})
|
||||
add_library(ddraw MODULE
|
||||
${SOURCE}
|
||||
ddraw.rc
|
||||
${CMAKE_CURRENT_BINARY_DIR}/ddraw.def)
|
||||
|
||||
set_module_type(ddraw win32dll)
|
||||
target_link_libraries(ddraw uuid dxguid ${PSEH_LIB})
|
||||
add_importlibs(ddraw advapi32 gdi32 user32 msvcrt kernel32 ntdll)
|
||||
|
|
|
@ -21,7 +21,8 @@ list(APPEND SOURCE
|
|||
|
||||
add_library(dsound MODULE
|
||||
${SOURCE}
|
||||
version.rc)
|
||||
version.rc
|
||||
${CMAKE_CURRENT_BINARY_DIR}/dsound.def)
|
||||
|
||||
set_module_type(dsound win32dll)
|
||||
target_link_libraries(dsound dxguid uuid)
|
||||
|
|
Loading…
Reference in a new issue