reactos/dll/directx/wine/d3d8/CMakeLists.txt
Joachim Henze a04d7c300e [0.4.9] [WINE DIRECTX] Sledge-hammer-revert to avoid CORE-14534
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.
2018-05-21 17:14:08 +02:00

33 lines
682 B
CMake

add_definitions(
-D__WINESRC__
-DUSE_WIN32_OPENGL)
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
spec2def(d3d8.dll d3d8.spec)
list(APPEND SOURCE
buffer.c
d3d8_main.c
device.c
directx.c
shader.c
surface.c
swapchain.c
texture.c
vertexdeclaration.c
volume.c
d3d8_private.h)
add_library(d3d8 SHARED
${SOURCE}
guid.c
version.rc
${CMAKE_CURRENT_BINARY_DIR}/d3d8.def)
set_module_type(d3d8 win32dll UNICODE)
target_link_libraries(d3d8 uuid wine)
add_importlibs(d3d8 d3dwine msvcrt kernel32 ntdll)
add_pch(d3d8 d3d8_private.h SOURCE)
add_cd_file(TARGET d3d8 DESTINATION reactos/system32 FOR all)