[CMAKE]
[reactos.git] / dll / directx / wine / d3d8 / CMakeLists.txt
1
2 set_unicode()
3
4 add_definitions(-D__WINESRC__)
5 add_definitions(-DUSE_WIN32_OPENGL)
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8 spec2def(d3d8.dll d3d8.spec)
9
10 add_library(d3d8 SHARED
11 cubetexture.c
12 d3d8_main.c
13 device.c
14 directx.c
15 indexbuffer.c
16 pixelshader.c
17 surface.c
18 swapchain.c
19 texture.c
20 vertexbuffer.c
21 vertexdeclaration.c
22 vertexshader.c
23 volume.c
24 volumetexture.c
25 version.rc
26 ${CMAKE_CURRENT_BINARY_DIR}/d3d8.def)
27
28 set_module_type(d3d8 win32dll)
29
30 target_link_libraries(d3d8
31 uuid
32 wine)
33
34 add_importlibs(d3d8
35 user32
36 gdi32
37 advapi32
38 wined3d)
39
40 add_dependencies(d3d8 wineheaders)
41 add_cab_target(d3d8 1)