mirror of
https://github.com/reactos/reactos.git
synced 2024-08-30 23:28:58 +00:00
![Joachim Henze](/assets/img/avatar_default.png)
This commit reverts dll/directx/wine/* and sdk/include/reactos/wine/wined3d.h to the state of 0.4.8rls. The current state of Ddraw without this revert is totally broken, so we need this interim solution. I will happily replace it with a proper fix if someone finds one until release.
40 lines
961 B
CMake
40 lines
961 B
CMake
|
|
add_definitions(-D__WINESRC__ -Dcopysignf=_copysignf -D_D3DX9_VER=36)
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
|
spec2def(d3dx9_36.dll d3dx9_36.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
animation.c
|
|
core.c
|
|
d3dx9_36_main.c
|
|
effect.c
|
|
font.c
|
|
line.c
|
|
math.c
|
|
mesh.c
|
|
preshader.c
|
|
render.c
|
|
shader.c
|
|
skin.c
|
|
sprite.c
|
|
surface.c
|
|
texture.c
|
|
util.c
|
|
volume.c
|
|
xfile.c
|
|
d3dx9_36_private.h)
|
|
|
|
add_library(d3dx9_36 SHARED
|
|
${SOURCE}
|
|
guid.c
|
|
version.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36_stubs.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36.def)
|
|
|
|
set_module_type(d3dx9_36 win32dll)
|
|
add_dependencies(d3dx9_36 d3d_idl_headers)
|
|
target_link_libraries(d3dx9_36 dxguid wine)
|
|
add_importlibs(d3dx9_36 d3dcompiler_43 d3dxof d3dwine user32 ole32 gdi32 msvcrt kernel32 ntdll)
|
|
add_pch(d3dx9_36 d3dx9_36_private.h SOURCE)
|
|
add_cd_file(TARGET d3dx9_36 DESTINATION reactos/system32 FOR all)
|