- Merge the remaining portion of the wlan-bringup branch
[reactos.git] / reactos / dll / directx / wine / d3d9 / 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(d3d9.dll d3d9.spec)
12
13 list(APPEND SOURCE
14 buffer.c
15 cubetexture.c
16 d3d9_main.c
17 device.c
18 directx.c
19 query.c
20 shader.c
21 stateblock.c
22 surface.c
23 swapchain.c
24 texture.c
25 vertexdeclaration.c
26 volume.c
27 volumetexture.c
28 version.rc
29 ${CMAKE_CURRENT_BINARY_DIR}/d3d9_stubs.c
30 ${CMAKE_CURRENT_BINARY_DIR}/d3d9.def)
31
32 add_library(d3d9 SHARED ${SOURCE})
33
34 set_module_type(d3d9 win32dll UNICODE)
35
36 target_link_libraries(d3d9 uuid wine)
37
38 add_importlibs(d3d9
39 user32
40 gdi32
41 advapi32
42 wined3d
43 msvcrt
44 kernel32
45 ntdll)
46
47 add_dependencies(d3d9 wineheaders)
48 add_pch(d3d9 d3d9_private.h)
49 add_cd_file(TARGET d3d9 DESTINATION reactos/system32 FOR all)
50 add_importlib_target(d3d9.spec)