[NTOS:SE] Handle the reference logon session of the token
[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}/sdk/include/reactos/wine)
7 spec2def(d3d9.dll d3d9.spec ADD_IMPORTLIB)
8
9 list(APPEND SOURCE
10 buffer.c
11 d3d9_main.c
12 device.c
13 directx.c
14 query.c
15 shader.c
16 stateblock.c
17 surface.c
18 swapchain.c
19 texture.c
20 vertexdeclaration.c
21 volume.c)
22
23 list(APPEND PCH_SKIP_SOURCE
24 guid.c)
25
26 add_library(d3d9 MODULE
27 ${SOURCE}
28 ${PCH_SKIP_SOURCE}
29 version.rc
30 ${CMAKE_CURRENT_BINARY_DIR}/d3d9_stubs.c
31 ${CMAKE_CURRENT_BINARY_DIR}/d3d9.def)
32
33 set_module_type(d3d9 win32dll UNICODE)
34 target_link_libraries(d3d9 wine)
35 add_importlibs(d3d9 d3dwine user32 msvcrt kernel32 ntdll)
36 add_pch(d3d9 precomp.h "${PCH_SKIP_SOURCE}")
37 add_cd_file(TARGET d3d9 DESTINATION reactos/system32 FOR all)