- Update to r53061
[reactos.git] / dll / directx / wine / d3d8 / CMakeLists.txt
1
2 set_unicode()
3
4 add_definitions(
5 -D__WINESRC__
6 -DUSE_WIN32_OPENGL)
7
8 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
9
10 set_rc_compiler()
11
12 spec2def(d3d8.dll d3d8.spec)
13
14 list(APPEND SOURCE
15 buffer.c
16 cubetexture.c
17 d3d8_main.c
18 device.c
19 directx.c
20 shader.c
21 surface.c
22 swapchain.c
23 texture.c
24 vertexdeclaration.c
25 volume.c
26 volumetexture.c
27 version.rc
28 ${CMAKE_CURRENT_BINARY_DIR}/d3d8.def)
29
30 add_library(d3d8 SHARED ${SOURCE})
31
32 set_module_type(d3d8 win32dll)
33
34 target_link_libraries(d3d8 uuid wine)
35
36 add_importlibs(d3d8
37 user32
38 gdi32
39 advapi32
40 wined3d
41 msvcrt
42 kernel32
43 ntdll)
44
45 add_dependencies(d3d8 wineheaders)
46 add_pch(d3d8 d3d8_private.h)
47 add_cd_file(TARGET d3d8 DESTINATION reactos/system32 FOR all)