[WIN32K]
[reactos.git] / reactos / dll / directx / wine / d3dx9_36 / CMakeLists.txt
1 set_rc_compiler()
2
3 spec2def(d3dx9_36.dll d3dx9_36.spec ADD_IMPORTLIB)
4
5 list(APPEND SOURCE
6 core.c
7 d3dx9_36_main.c
8 font.c
9 math.c
10 mesh.c
11 shader.c
12 sprite.c
13 surface.c
14 texture.c
15 util.c
16 version.rc
17 ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36_stubs.c
18 ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36.def)
19
20 add_definitions(-D__WINESRC__)
21
22 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
23
24 add_library(d3dx9_36 SHARED ${SOURCE})
25 set_module_type(d3dx9_36 win32dll)
26 target_link_libraries(d3dx9_36 wine)
27
28 add_importlibs(d3dx9_36
29 d3d9
30 user32
31 gdi32
32 advapi32
33 msvcrt
34 kernel32
35 ntdll)
36
37 add_dependencies(d3dx9_36 wineheaders)
38 add_cd_file(TARGET d3dx9_36 DESTINATION reactos/system32 FOR all)