[SYSSETUP] Fix Russian translation (#3017)
[reactos.git] / dll / directx / wine / d3d8 / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -D__ROS_LONG64__
5 -DUSE_WIN32_OPENGL)
6
7 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
8 spec2def(d3d8.dll d3d8.spec)
9
10 list(APPEND SOURCE
11 buffer.c
12 d3d8_main.c
13 device.c
14 directx.c
15 shader.c
16 surface.c
17 swapchain.c
18 texture.c
19 vertexdeclaration.c
20 volume.c)
21
22 list(APPEND PCH_SKIP_SOURCE
23 guid.c)
24
25 add_library(d3d8 MODULE
26 ${SOURCE}
27 ${PCH_SKIP_SOURCE}
28 version.rc
29 ${CMAKE_CURRENT_BINARY_DIR}/d3d8.def)
30
31 set_module_type(d3d8 win32dll UNICODE)
32 target_link_libraries(d3d8 uuid wine)
33 add_importlibs(d3d8 d3dwine msvcrt kernel32 ntdll)
34 add_pch(d3d8 precomp.h "${PCH_SKIP_SOURCE}")
35 add_cd_file(TARGET d3d8 DESTINATION reactos/system32 FOR all)