[FREELDR]
[reactos.git] / dll / directx / wine / d3d8 / CMakeLists.txt
1 set_rc_compiler()
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 list(APPEND SOURCE
11 buffer.c
12 cubetexture.c
13 d3d8_main.c
14 device.c
15 directx.c
16 shader.c
17 surface.c
18 swapchain.c
19 texture.c
20 vertexdeclaration.c
21 volume.c
22 volumetexture.c
23 version.rc
24 d3d8.def)
25
26 add_library(d3d8 SHARED ${SOURCE})
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 msvcrt
40 kernel32
41 ntdll)
42
43 add_dependencies(d3d8 wineheaders)
44 add_cab_target(d3d8 1)