e05850be76a154c142c8e56be557fcd922a90a01
[reactos.git] / dll / directx / wine / d3d9 / 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(d3d9.dll d3d9.spec)
9
10 list(APPEND SOURCE
11 buffer.c
12 cubetexture.c
13 d3d9_main.c
14 device.c
15 directx.c
16 query.c
17 shader.c
18 stateblock.c
19 surface.c
20 swapchain.c
21 texture.c
22 vertexdeclaration.c
23 volume.c
24 volumetexture.c
25 version.rc
26 d3d9.def)
27
28 add_library(d3d9 SHARED ${SOURCE})
29
30 set_module_type(d3d9 win32dll)
31
32 target_link_libraries(d3d9
33 uuid
34 wine)
35
36 add_importlibs(d3d9
37 user32
38 gdi32
39 advapi32
40 wined3d
41 msvcrt
42 kernel32
43 ntdll)
44
45 add_dependencies(d3d9 wineheaders)
46 add_cab_target(d3d9 1)