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