Create this branch to work on loading of different Kernel-Debugger DLL providers...
[reactos.git] / dll / directx / wine / d3d9 / 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(d3d9.dll d3d9.spec ADD_IMPORTLIB)
9
10 list(APPEND SOURCE
11 buffer.c
12 d3d9_main.c
13 device.c
14 directx.c
15 query.c
16 shader.c
17 stateblock.c
18 surface.c
19 swapchain.c
20 texture.c
21 vertexdeclaration.c
22 volume.c
23 version.rc
24 ${CMAKE_CURRENT_BINARY_DIR}/d3d9_stubs.c
25 ${CMAKE_CURRENT_BINARY_DIR}/d3d9.def)
26
27 add_library(d3d9 SHARED ${SOURCE})
28 set_module_type(d3d9 win32dll UNICODE)
29 target_link_libraries(d3d9 uuid wine)
30
31 add_importlibs(d3d9
32 user32
33 gdi32
34 advapi32
35 wined3d
36 msvcrt
37 kernel32
38 ntdll)
39
40 add_dependencies(d3d9 wineheaders)
41 add_pch(d3d9 d3d9_private.h)
42 add_cd_file(TARGET d3d9 DESTINATION reactos/system32 FOR all)