Create this branch to work on loading of different Kernel-Debugger DLL providers...
[reactos.git] / dll / directx / wine / d3d8 / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -DUSE_WIN32_OPENGL)
5
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 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 version.rc
22 ${CMAKE_CURRENT_BINARY_DIR}/d3d8.def)
23
24 add_library(d3d8 SHARED ${SOURCE})
25 set_module_type(d3d8 win32dll UNICODE)
26 target_link_libraries(d3d8 uuid wine)
27
28 add_importlibs(d3d8
29 user32
30 gdi32
31 advapi32
32 wined3d
33 msvcrt
34 kernel32
35 ntdll)
36
37 add_dependencies(d3d8 wineheaders)
38 add_pch(d3d8 d3d8_private.h)
39 add_cd_file(TARGET d3d8 DESTINATION reactos/system32 FOR all)